Skip to content

Commit cc1db21

Browse files
author
hfhoffman1144
committed
formatting fix
1 parent 9cd8b74 commit cc1db21

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

python-polars/downloads.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55
def download_file(file_url: str, local_file_path: pathlib.Path) -> None:
6-
"""Download a file from the URL and save it with the specified file name."""
6+
"Download a file from the URL and save it with the specified file name."
77
response = requests.get(file_url)
88
if response:
99
local_file_path.write_bytes(response.content)

python-polars/lazy_api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,6 @@
3636

3737
print(lazy_query.collect().select(pl.col(["price_per_sqft", "year"])))
3838

39-
print(lazy_query.collect().select(pl.col(["price_per_sqft", "year"])).describe())
39+
print(
40+
lazy_query.collect().select(pl.col(["price_per_sqft", "year"])).describe()
41+
)

python-polars/scanning_data.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414

1515
lazy_car_query = (
1616
lazy_car_data.filter((pl.col("Model Year") >= 2018))
17-
.filter(pl.col("Electric Vehicle Type") == "Battery Electric Vehicle (BEV)")
17+
.filter(
18+
pl.col("Electric Vehicle Type") == "Battery Electric Vehicle (BEV)"
19+
)
1820
.groupby(["State", "Make"])
1921
.agg(
2022
pl.mean("Electric Range").alias("Average Electric Range"),

0 commit comments

Comments
 (0)