Skip to content

Commit 6eeab9d

Browse files
authored
Final QA (#421)
1 parent e129aae commit 6eeab9d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

python-polars/expressions_and_contexts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
buildings_data = {
88
"sqft": rng.exponential(scale=1000, size=num_rows),
99
"year": rng.integers(low=1995, high=2023, size=num_rows),
10-
"building_type": rng.choice(a=["A", "B", "C"], size=num_rows),
10+
"building_type": rng.choice(["A", "B", "C"], size=num_rows),
1111
}
1212
buildings = pl.DataFrame(buildings_data)
1313

python-polars/getting_started.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
buildings_data = {
88
"sqft": rng.exponential(scale=1000, size=num_rows),
99
"year": rng.integers(low=1995, high=2023, size=num_rows),
10-
"building_type": rng.choice(a=["A", "B", "C"], size=num_rows),
10+
"building_type": rng.choice(["A", "B", "C"], size=num_rows),
1111
}
1212

1313
buildings = pl.DataFrame(buildings_data)

python-polars/lazy_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"sqft": rng.exponential(scale=1000, size=num_rows),
99
"price": rng.exponential(scale=100_000, size=num_rows),
1010
"year": rng.integers(low=1995, high=2023, size=num_rows),
11-
"building_type": rng.choice(a=["A", "B", "C"], size=num_rows),
11+
"building_type": rng.choice(["A", "B", "C"], size=num_rows),
1212
}
1313
buildings_lazy = pl.LazyFrame(buildings)
1414
print(buildings_lazy)

0 commit comments

Comments
 (0)