Skip to content

DOC: Ambiguous description in to_parquet engine documentation #19669

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
bf59983
documentação
giba0 Feb 12, 2018
2a49a9a
Revert "documentação"
giba0 Feb 12, 2018
a6a5e96
Merge branch 'master' into upstream/master
giba0 Feb 12, 2018
f235163
Merge remote-tracking branch 'origin/master'
giba0 Feb 12, 2018
55b2661
Merge branch 'master' into upstream/master
giba0 Feb 12, 2018
1785d61
Creating the window folder and the files test_rolling.py, test_expand…
giba0 Feb 12, 2018
b9c121d
Inclusion of tests for the rolling functions according to the file te…
giba0 Feb 12, 2018
018685b
Inclusion of tests for the expanding functions according to the test_…
giba0 Feb 12, 2018
3cef534
Inclusion of tests for the ewma functions according to the test_windo…
giba0 Feb 12, 2018
9cb7a4f
Correcting file formatting.
giba0 Feb 12, 2018
9a4469e
Merge branch 'master' of https://github.com/pandas-dev/pandas
giba0 Feb 12, 2018
52db43a
Merge branch 'master' into TST--split-tests-for-windows-to-sub-module…
giba0 Feb 12, 2018
375c68d
Merge branch 'TST--split-tests-for-windows-to-sub-modules-#19228'
giba0 Feb 12, 2018
8414a1f
Ambiguity correction in documentation on pandas.DataFrame.to_parquet
giba0 Feb 12, 2018
6460364
Merge remote-tracking branch 'upstream/master' into gilbertoolimpio-D…
TomAugspurger Feb 13, 2018
112bb1f
remove window
TomAugspurger Feb 13, 2018
b45130d
Correction in Parquet documentation
giba0 Feb 13, 2018
f6945dc
correction the documentation to_parquet method
giba0 Feb 13, 2018
a500c82
improvement of documentation
giba0 Feb 13, 2018
8fac45b
undo unrelated change
jorisvandenbossche Feb 13, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -1678,9 +1678,10 @@ def to_parquet(self, fname, engine='auto', compression='snappy',
fname : str
string file path
engine : {'auto', 'pyarrow', 'fastparquet'}, default 'auto'
Parquet reader library to use. If 'auto', then the option
'io.parquet.engine' is used. If 'auto', then the first
library to be installed is used.
Parquet library to use. If 'auto', then the option
``io.parquet.engine`` is used. The default ``io.parquet.engine``
behavior is to try 'pyarrow', falling back to 'fastparquet' if
'pyarrow' is unavailable.
compression : {'snappy', 'gzip', 'brotli', None}, default 'snappy'
Name of the compression to use. Use ``None`` for no compression.
kwargs
Expand Down
14 changes: 8 additions & 6 deletions pandas/io/parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,10 @@ def to_parquet(df, path, engine='auto', compression='snappy', **kwargs):
path : string
File path
engine : {'auto', 'pyarrow', 'fastparquet'}, default 'auto'
Parquet reader library to use. If 'auto', then the option
'io.parquet.engine' is used. If 'auto', then the first
library to be installed is used.
Parquet library to use. If 'auto', then the option
``io.parquet.engine`` is used. The default ``io.parquet.engine``
behavior is to try 'pyarrow', falling back to 'fastparquet' if
'pyarrow' is unavailable.
compression : {'snappy', 'gzip', 'brotli', None}, default 'snappy'
Name of the compression to use. Use ``None`` for no compression.
kwargs
Expand All @@ -271,9 +272,10 @@ def read_parquet(path, engine='auto', columns=None, **kwargs):

.. versionadded 0.21.1
engine : {'auto', 'pyarrow', 'fastparquet'}, default 'auto'
Parquet reader library to use. If 'auto', then the option
'io.parquet.engine' is used. If 'auto', then the first
library to be installed is used.
Parquet library to use. If 'auto', then the option
``io.parquet.engine`` is used. The default ``io.parquet.engine``
behavior is to try 'pyarrow', falling back to 'fastparquet' if
'pyarrow' is unavailable.
kwargs are passed to the engine

Returns
Expand Down