Table
Display a pandas dataframe to the user
Examples
Basic Example
The following example demonstrate some of the available functionality for display_pandas
from abstra.forms import display_pandas
display_pandas(df)
Parameters
Name | Description | Type |
---|---|---|
df | The dataframe to display to the user | PandasDataFrame |
display_index | Whether to show a index column. Defaults to False. | bool |
label | The label to display to the user | str |
editable | Whether the user will be allowed to edit the cells. Defaults to False. | bool |
page_size | The number of rows to display per page. Defaults to 10. | number |
actions | Actions that can be triggered by table rows | list |
end_program | Whether the program should end after the widget is shown. Defaults to False. | bool |
full_width | Whether the input should use full screen width. Defaults to False. | bool |
button_text | What text to display on the button when the widget is not part of a Page. Defaults to 'Next'. | str |