Skip to content

Commit

Permalink
DOC: fixinf SA01 issue for DataFrame.to_feather (#58378)
Browse files Browse the repository at this point in the history
  • Loading branch information
KeiOshima authored Apr 23, 2024
1 parent ec1dff9 commit 903cd53
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 0 additions & 1 deletion ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
-i "pandas.DataFrame.std PR01,RT03,SA01" \
-i "pandas.DataFrame.sum RT03" \
-i "pandas.DataFrame.swaplevel SA01" \
-i "pandas.DataFrame.to_feather SA01" \
-i "pandas.DataFrame.to_markdown SA01" \
-i "pandas.DataFrame.to_parquet RT03" \
-i "pandas.DataFrame.var PR01,RT03,SA01" \
Expand Down
10 changes: 10 additions & 0 deletions pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -2685,6 +2685,16 @@ def to_feather(self, path: FilePath | WriteBuffer[bytes], **kwargs) -> None:
This includes the `compression`, `compression_level`, `chunksize`
and `version` keywords.
See Also
--------
DataFrame.to_parquet : Write a DataFrame to the binary parquet format.
DataFrame.to_excel : Write object to an Excel sheet.
DataFrame.to_sql : Write to a sql table.
DataFrame.to_csv : Write a csv file.
DataFrame.to_json : Convert the object to a JSON string.
DataFrame.to_html : Render a DataFrame as an HTML table.
DataFrame.to_string : Convert DataFrame to a string.
Notes
-----
This function writes the dataframe as a `feather file
Expand Down

0 comments on commit 903cd53

Please sign in to comment.