Spaces:
Sleeping
Sleeping
| #!/usr/bin/env python | |
| import gradio as gr | |
| import pandas as pd | |
| df = pd.DataFrame({"a": list(range(100)), "b": ["aaa"] * 100}) | |
| with gr.Blocks() as demo: | |
| gr.Dataframe( | |
| value=df, | |
| datatype=["number", "str"], | |
| type="pandas", | |
| interactive=False, | |
| max_rows=None, | |
| ) | |
| demo.queue().launch() | |