Databricks notebooks l have widgets can we use python parameterized function to make it modular and the widgets should be there in that?
Hi @Anshal-7634 ,
Thank you for posting query in Microsoft Q&A Platform.
You mean having widgets in notebook and passing those widgets values in to python parameterized function? If yes, then it is possible.
If my understanding is wrong, then kindly elaborate more on ask with simple example if possible.
Please check below example, in which I have two widgets
lastname. Also, I have one python parameterized function
getFullname(). In tho this function I am passing values from my widgets and we can see its working fine.
Hope this helps. Please let us know if any further queries. Thank you.
Please consider hitting
Accept Answer button. Accepted answers help community as well.
9 people are following this question.