freeze_columns_left
argument in mo.ui.table
, and I am not getting an error, but the specified column is not frozen. This is my code. Can you tell me why?polars
right?mo.ui.table( df[mask].with_row_index(), show_column_summaries=False, selection=None, pagination=None, freeze_columns_left=["index", "Name"], )
mask
so assumed that you were using polarsmo.ui.table( df[mask].reset_index(), show_column_summaries=False, selection=None, pagination=None, freeze_columns_left=["index", "Name"], )
team_df2[mask].columns
?()
inside the if condition for reset_index
reset_index
, but fixing that still didn't change the behavior. and no, it is not in team_df2[mask]
because it is the dataframe's indexmo.ui.table( df[mask].reset_index(), show_column_summaries=False, selection=None, pagination=None, freeze_columns_left=["Number", "Name"], )
reset_index
, it does freeze the auto-assigned index.index
in freeze_columns_left
when index is defined by a dataframe column, not when the default auto-assigned index is used