diff --git a/ci/code_checks.sh b/ci/code_checks.sh old mode 100755 new mode 100644 index 2c3cc29bd8c0c..280375aae9295 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -576,7 +576,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then $BASE_DIR/scripts/validate_docstrings.py --format=actions --errors=EX02 --ignore_functions \ pandas.DataFrame.plot.line \ pandas.Series.plot.line \ - pandas.Timestamp.fromtimestamp \ pandas.api.types.infer_dtype \ pandas.api.types.is_datetime64_any_dtype \ pandas.api.types.is_datetime64_ns_dtype \ diff --git a/pandas/_libs/tslibs/nattype.pyx b/pandas/_libs/tslibs/nattype.pyx index d9d8ce3bb16d1..ff07f5d799339 100644 --- a/pandas/_libs/tslibs/nattype.pyx +++ b/pandas/_libs/tslibs/nattype.pyx @@ -570,7 +570,7 @@ class NaTType(_NaT): Examples -------- - >>> pd.Timestamp.fromtimestamp(1584199972) + >>> pd.Timestamp.fromtimestamp(1584199972) # doctest: +SKIP Timestamp('2020-03-14 15:32:52') Note that the output may change depending on your local time. diff --git a/pandas/_libs/tslibs/timestamps.pyx b/pandas/_libs/tslibs/timestamps.pyx index 9e9dab155a5cf..33e8344c79d6c 100644 --- a/pandas/_libs/tslibs/timestamps.pyx +++ b/pandas/_libs/tslibs/timestamps.pyx @@ -1451,7 +1451,7 @@ class Timestamp(_Timestamp): Examples -------- - >>> pd.Timestamp.fromtimestamp(1584199972) + >>> pd.Timestamp.fromtimestamp(1584199972) # doctest: +SKIP Timestamp('2020-03-14 15:32:52') Note that the output may change depending on your local time.