diff --git a/ci/code_checks.sh b/ci/code_checks.sh index b3d6c5156c54d..4b7d241f38e29 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -274,7 +274,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.TimedeltaIndex.nanoseconds SA01" \ -i "pandas.TimedeltaIndex.seconds SA01" \ -i "pandas.TimedeltaIndex.to_pytimedelta RT03,SA01" \ - -i "pandas.Timestamp.asm8 SA01" \ -i "pandas.Timestamp.astimezone SA01" \ -i "pandas.Timestamp.ceil SA01" \ -i "pandas.Timestamp.combine PR01,SA01" \ diff --git a/pandas/_libs/tslibs/timestamps.pyx b/pandas/_libs/tslibs/timestamps.pyx index 0010497425c02..47a0dddb5ed15 100644 --- a/pandas/_libs/tslibs/timestamps.pyx +++ b/pandas/_libs/tslibs/timestamps.pyx @@ -1150,6 +1150,12 @@ cdef class _Timestamp(ABCTimestamp): """ Return numpy datetime64 format in nanoseconds. + See Also + -------- + numpy.datetime64 : Numpy datatype for dates and times with high precision. + Timestamp.to_numpy : Convert the Timestamp to a NumPy datetime64. + to_datetime : Convert argument to datetime. + Examples -------- >>> ts = pd.Timestamp(2020, 3, 14, 15)