-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DataGrid not showing using ui.output_data_frame #764
Comments
I'm not able to replicate this, can you post a more complete example? This code works:
|
here is a bit more of context from the ui part: ui.navset_tab(
ui.nav('Données complètes', ui.output_data_frame('data_display')),
ui.nav(
'Statistiques Descriptives',
ui.page_fluid(
ui.row(
'Statistiques descriptives en retirant les 0',
ui.output_data_frame('stats_descriptives')
),
ui.row(
'Visualisation graphiques',
ui.input_text('col_boxplot','Colonnes à visualiser', placeholder = 'Séparées par ;'),
ui.output_plot('boxplot')
),
ui.row('Fréquence des différentes classes',
ui.output_plot('frequence_classe'))
)
),
ui.nav('Selection de variable',
ui.output_data_frame('feature_selection'))
) So it's in a big app with lot of tabs, sub tabs and it's the only thing not working. |
I'm using shiny 0.5.1, shinywidgets 0.2.1, pandas 2.0.3, python 3.11.4 on windows with VScode |
Hey @gshotwell I tried running your example, and unfortunately nothing rendered to the screen. I am also using shiny 0.5.1 and am experiencing this issue with render.DataGrid. I've noticed this only occurs when I'm using Safari, though. Thanks! |
@rh-atx I'm not able to reproduce that on Safari, is anything else different? Which version of Python are you on? |
Another forum post on the discord answer the question. The column names must be string and not index to work. I don't know if it will help improve the functions but when column names are transform to string, it works well. |
I'm using DataGrid and render.data_frame to be able to do row selection but the data frame is not displaying. When debugging, the returned object is a DataGrid shiny object. If I'm using basic pd.DataFrame everything is right.
Here, the server part :
Here the ui part :
The text was updated successfully, but these errors were encountered: