Buckets:
ktongue/OnedriveENISE / ENISE1 /hf_env /lib /python3.14 /site-packages /pandas /tests /plotting /conftest.py
| import numpy as np | |
| import pytest | |
| from pandas import ( | |
| DataFrame, | |
| to_datetime, | |
| ) | |
| def autouse_mpl_cleanup(mpl_cleanup): | |
| pass | |
| def hist_df(): | |
| n = 50 | |
| rng = np.random.default_rng(10) | |
| gender = rng.choice(["Male", "Female"], size=n) | |
| classroom = rng.choice(["A", "B", "C"], size=n) | |
| hist_df = DataFrame( | |
| { | |
| "gender": gender, | |
| "classroom": classroom, | |
| "height": rng.normal(66, 4, size=n), | |
| "weight": rng.normal(161, 32, size=n), | |
| "category": rng.integers(4, size=n), | |
| "datetime": to_datetime( | |
| rng.integers( | |
| 812419200000000000, | |
| 819331200000000000, | |
| size=n, | |
| dtype=np.int64, | |
| ) | |
| ), | |
| } | |
| ) | |
| return hist_df | |
Xet Storage Details
- Size:
- 882 Bytes
- Xet hash:
- 8eba6db36dcc5a0c6672e0a2a22034d65b2a543b57cbdecc5da1e31ed068b04e
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.