Glue Jupiter Notebook

0

I tried below code in aws glue jupyter notebook for widget textbox but I got text context but I expected text box.

import ipywidgets as widgets from IPython.display import display

text_input = widgets.Text(
    value='',
    placeholder='Enter some text',
    description='Text:',
    disabled=False
)

 
dropdown = widgets.Dropdown(
    options=['Option 1', 'Option 2', 'Option 3'],
    value='Option 1',
    description='Select an option:',
    disabled=False
)

 
display(text_input)
display(dropdown)

Current Output:

Text(value='', description='Text:', placeholder='Enter some text') Dropdown(description='Select an option:', options=('Option 1', 'Option 2', 'Option 3'), value='Option 1')

Expected Output:

I expected text box and dropdown box like data bricks. Please confirm we can able to achieve in aws glue jupyter notebook

asked a year ago176 views
1 Answer
0

Hi there, AWS Glue notebook does not currently support adding custom widgets or textboxes, it provides a powerful environment for developing ETL logic and transformations. You can go to this link and get more information about the thing that you can do with Glue Notebooks.

https://docs.aws.amazon.com/glue/latest/dg/notebook-components.html

https://docs.aws.amazon.com/glue/latest/dg/manage-notebook-sessions.html

AWS
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions