Skip to content

Commit 3ecf177

Browse files
DOC: Add SA01 for pandas.Timestamp.asm8 (#58676)
* DOC: add SA01 for pandas.Timestamp.asm8 * DOC: remove SA01 for pandas.Timestamp.asm8
1 parent c3216a2 commit 3ecf177

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ci/code_checks.sh

-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
269269
-i "pandas.TimedeltaIndex.nanoseconds SA01" \
270270
-i "pandas.TimedeltaIndex.seconds SA01" \
271271
-i "pandas.TimedeltaIndex.to_pytimedelta RT03,SA01" \
272-
-i "pandas.Timestamp.asm8 SA01" \
273272
-i "pandas.Timestamp.astimezone SA01" \
274273
-i "pandas.Timestamp.ceil SA01" \
275274
-i "pandas.Timestamp.combine PR01,SA01" \

pandas/_libs/tslibs/timestamps.pyx

+6
Original file line numberDiff line numberDiff line change
@@ -1150,6 +1150,12 @@ cdef class _Timestamp(ABCTimestamp):
11501150
"""
11511151
Return numpy datetime64 format in nanoseconds.
11521152

1153+
See Also
1154+
--------
1155+
numpy.datetime64 : Numpy datatype for dates and times with high precision.
1156+
Timestamp.to_numpy : Convert the Timestamp to a NumPy datetime64.
1157+
to_datetime : Convert argument to datetime.
1158+
11531159
Examples
11541160
--------
11551161
>>> ts = pd.Timestamp(2020, 3, 14, 15)

0 commit comments

Comments
 (0)