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

feita há um ano188 visualizações
1 Resposta
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
respondido há 6 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas