Skip to content

Commit b58561b

Browse files
committed
fix n_rows to size
1 parent df78236 commit b58561b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/data_developer_guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,11 @@ def extract_mock_data(output = "pandas", size = 10) -> pd.DataFrame|pl.DataFrame
174174
data = {
175175
"date": pd.date_range(
176176
start="2023-01-01",
177-
periods=n_rows,
177+
periods=size,
178178
tz='UTC'
179179
),
180-
"value": np.random.uniform(1, 100, n_rows),
181-
"category": np.random.choice(['A', 'B', 'C'], n_rows)
180+
"value": np.random.uniform(1, 100, size),
181+
"category": np.random.choice(['A', 'B', 'C'], size)
182182
}
183183
df = pd.DataFrame(data)
184184
return df if output == "pandas" or output == "pd" else pl.from_pandas(df)

0 commit comments

Comments
 (0)