how do i create an in-list using a widget - pyspark

MILES Marina 5 Reputation points

I need to create a widget for a list of content not just one

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
1,861 questions
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 73,886 Reputation points Microsoft Employee

    Hello @MILES Marina

    Thanks for the question and using MS Q&A platfrom.

    There are 4 types of widgets which are supported in Azure Databricks.

    • text: Input a value in a text box.
    • dropdown: Select a value from a list of provided values.
    • combobox: Combination of text and dropdown. Select a value from a provided list or input one in the text box.
    • multiselect: Select one or more values from a list of provided values.

    As per your requirement you can use the multiselect widgets to get values from a list of provided values.

    For more details, refer to Databricks widgets.

    Hope this helps. Do let us know if you any further queries.

    Please don’t forget to Accept Answer wherever the information provided helps you, this can be beneficial to other community members.