diff --git a/ci/code_checks.sh b/ci/code_checks.sh index f03ea65866031..57e147f40c86e 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -102,7 +102,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -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" \ -i "pandas.DatetimeIndex.date SA01" \ -i "pandas.DatetimeIndex.day_of_year SA01" \ diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py index fb9f047d432a1..4c7ccd869cea6 100644 --- a/pandas/core/arrays/datetimes.py +++ b/pandas/core/arrays/datetimes.py @@ -1642,9 +1642,8 @@ def isocalendar(self) -> DataFrame: See Also -------- - DatetimeIndex.day: The day of the datetime. - DatetimeIndex.minute: The minutes of the datetime. - DatetimeIndex.second: The seconds of the datetime. + Series.dt.minute : Minutes of the datetime. + Series.dt.second : Seconds of the datetime. Examples -------- diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 50dc514e7181f..d09cc889292bb 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -2865,7 +2865,7 @@ def to_parquet( Returns ------- - bytes if no path argument is provided else None + If no `path` argument is provided, returns the bytes representation of the DataFrame written in the Parquet format. If a `path` argument is provided, returns None. See Also --------