Skip to content

Commit ad0f4cf

Browse files
committed
TR: Rename function
1 parent 10d295a commit ad0f4cf

File tree

1 file changed

+2
-2
lines changed
  • python-serialize/tabular-data/parquet-demo

1 file changed

+2
-2
lines changed

python-serialize/tabular-data/parquet-demo/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def main():
1414
print(f"{df1.equals(df2) = }") # noqa
1515
print(f"{df2.equals(df3) = }") # noqa
1616

17-
df = prun_and_filter("users.parquet")
17+
df = prune_and_filter("users.parquet")
1818
print(df.head())
1919

2020

@@ -34,7 +34,7 @@ def deserialize_with_fastparquet(filename):
3434
return fastparquet.ParquetFile(filename).to_pandas()
3535

3636

37-
def prun_and_filter(filename):
37+
def prune_and_filter(filename):
3838
return pd.read_parquet(
3939
filename,
4040
filters=[("language", "=", "fr")],

0 commit comments

Comments
 (0)