We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ec5d45 commit bc3c5d4Copy full SHA for bc3c5d4
pandas/io/parquet.py
@@ -576,7 +576,7 @@ def read_parquet(
576
4 4 9
577
>>> df_parquet_bytes = original_df.to_parquet()
578
>>> from io import BytesIO
579
- >>> restored_df = pd.read_parquet(BytesIO(df_parquet_bytes))
+ >>> restored_df = pd.read_parquet(BytesIO(df_parquet_bytes))
580
>>> restored_df
581
foo bar
582
0 0 5
@@ -606,7 +606,7 @@ def read_parquet(
606
which can benefit from multithreading and also potentially be more
607
economical in terms of memory.
608
609
- >>> sel = [("bar", ">", 2)]
+ >>> sel = [("foo", ">", 2)]
610
>>> restored_part = pd.read_parquet(BytesIO(df_parquet_bytes), filters=sel)
611
>>> restored_part
612
0 commit comments