gradio/demo/plot_guide_selection/data.py
aliabid94 4ba7b238e2
Improve plot guide, add double clicking to plots (#9064)
* changes

* add changeset

* chages

* changes

* changes

* changes

* changes

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-07 19:17:14 -07:00

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)]
})