Skip to content

Commit 6dfbe58

Browse files
committed
ResourceWarning hiding in doctests???
1 parent 568a352 commit 6dfbe58

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

pandas/core/frame.py

-9
Original file line numberDiff line numberDiff line change
@@ -2029,15 +2029,6 @@ def to_parquet(self, fname, engine='auto', compression='snappy',
20292029
This function requires either the `fastparquet
20302030
<https://pypi.org/project/fastparquet>`_ or `pyarrow
20312031
<https://arrow.apache.org/docs/python/>`_ library.
2032-
2033-
Examples
2034-
--------
2035-
>>> df = pd.DataFrame(data={'col1': [1, 2], 'col2': [3, 4]})
2036-
>>> df.to_parquet('df.parquet.gzip', compression='gzip')
2037-
>>> pd.read_parquet('df.parquet.gzip')
2038-
col1 col2
2039-
0 1 3
2040-
1 2 4
20412032
"""
20422033
from pandas.io.parquet import to_parquet
20432034
to_parquet(self, fname, engine,

0 commit comments

Comments
 (0)