mirror of
https://github.com/gradio-app/gradio.git
synced 2025-03-07 11:46:51 +08:00
11 lines
292 B
Python
11 lines
292 B
Python
|
import pandas as pd
|
||
|
import numpy as np
|
||
|
import random
|
||
|
|
||
|
df = pd.DataFrame({
|
||
|
'height': np.random.randint(50, 70, 25),
|
||
|
'weight': np.random.randint(120, 320, 25),
|
||
|
'age': np.random.randint(18, 65, 25),
|
||
|
'ethnicity': [random.choice(["white", "black", "asian"]) for _ in range(25)]
|
||
|
})
|