Spaces:
Build error
Build error
Download data/create_data.py from automatethem/test-streamlit-app: direct link, hf CLI and curl.
- Browser
- Download file 155 Bytes
-
https://huggingface.co/spaces/automatethem/test-streamlit-app/resolve/main/data/create_data.py
- Command line
-
hf download hf://spaces/automatethem/test-streamlit-app/data/create_data.py
-
curl -L -o create_data.py https://huggingface.co/spaces/automatethem/test-streamlit-app/resolve/main/data/create_data.py
155 Bytes
| import pandas as pd | |
| import numpy as np | |
| def create_table(n=7): | |
| df = pd.DataFrame({"x": range(1, 11), "y": n}) | |
| df['x*y'] = df.x * df.y | |
| return df |