Skip to content

Commit ada20a5

Browse files
Fix lint errors
1 parent d703210 commit ada20a5

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

pandas/_libs/tslibs/timestamps.pyx

+11-5
Original file line numberDiff line numberDiff line change
@@ -1318,13 +1318,17 @@ cdef class _Timestamp(ABCTimestamp):
13181318
"""
13191319
Return a period of which this timestamp is an observation.
13201320
1321-
This method constructs a `Period` object from the `Timestamp` and provided period.
1322-
Please note that timezone information will be dropped, since `Period` doesn't support timezones.
1321+
This method constructs a `Period` object from the `Timestamp`
1322+
and provided period.
1323+
Please note that timezone information will be dropped,
1324+
since `Period` doesn't support timezones.
13231325
13241326
Parameters
13251327
----------
13261328
freq : str, default None
1327-
The period frequency. Accepted strings are listed in the :ref:`period alias section <timeseries.period_aliases>` in the user docs.
1329+
The period frequency. Accepted strings are listed in
1330+
the :ref:`period alias section <timeseries.period_aliases>`
1331+
in the user docs.
13281332
13291333
See Also
13301334
--------
@@ -2629,7 +2633,8 @@ default 'raise'
26292633
"""
26302634
Implements datetime.replace, handles nanoseconds.
26312635
2632-
Returns a new timestamp with the same attributes, except for those given new value.
2636+
Returns a new timestamp with the same attributes,
2637+
except for those given new value.
26332638
26342639
Parameters
26352640
----------
@@ -2660,7 +2665,8 @@ default 'raise'
26602665
26612666
See Also
26622667
--------
2663-
Timestamp.normalize : Normalize the Timestamp to midnight, preserving tz information.
2668+
Timestamp.normalize : Normalize the Timestamp to midnight,
2669+
preserving tz information.
26642670
Timestamp.tz_convert : Convert timezone-aware Timestamp to another time zone.
26652671
Timestamp.tz_localize : Localize the Timestamp to a timezone.
26662672
datetime.datetime.replace : Return a new datetime with replaced attributes.

0 commit comments

Comments
 (0)