Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
sudhav
Helper V
Helper V

Need to pass multiple values as parameters in notebook by using pyspark

Hi Team,

I have a notebook using pyspark.

there i have written a code that is fetching shar market value for every 5 mins. below is my notebook code

sudhav_0-1695994889161.png

In above snap, i have given company name as ABC and i have parameterized that cell and i am getting below results in my lakehouse as table

sudhav_1-1696000099597.png

 

now my question is i need to get some more companies data like ABC,XYZ,PQR companies data in that same table as rows one after other as rows, it means for every 5 mins 3 rows should add(one row for each company)

I was able to get this using pipeline like below using config table, but i need to achieve it by using only notebook and giving parameters list in the notebook.

can somebody look into it and do needful.

TIA

 

 

 

3 REPLIES 3
DennesTorres
Impactful Individual
Impactful Individual

Hi,

 

If you use a Spark Job definition to schedule your jobs, it's possible to pass multiple command line arguments to the job, would this solve your problem?

DennesTorres_0-1696275550196.png


Kind Regards,

 

Dennes



Hi, thankyou for reply.

My issue not yet resolved. can you plese write that code and paste it here, , or any links,or docs.so that would really helpful for me.

thankyou

Hi @sudhav , @DennesTorres ,
This is a duplicate thread of the similar one available at the link : Duplicate Link 
Hence I am closing this thread. 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

JanFabricDE_carousel

Fabric Monthly Update - January 2025

Explore the power of Python Notebooks in Fabric!

JanFabricDW_carousel

Fabric Monthly Update - January 2025

Unlock the latest Fabric Data Warehouse upgrades!

JanFabricDF_carousel

Fabric Monthly Update - January 2025

Take your data replication to the next level with Fabric's latest updates!