Skip to content

Commit 5a75a01

Browse files
Fix capitalization error in summary for Timestamp
1 parent 0647f02 commit 5a75a01

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pandas/_libs/tslibs/timestamps.pyx

+5-5
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ class Timestamp(_Timestamp):
912912
"""
913913
Timestamp.fromtimestamp(ts)
914914
915-
timestamp[, tz] -> tz's local time from POSIX timestamp.
915+
Timestamp[, tz] -> tz's local time from POSIX timestamp.
916916
"""
917917
return cls(datetime.fromtimestamp(ts))
918918

@@ -934,7 +934,7 @@ class Timestamp(_Timestamp):
934934
"""
935935
Timestamp.combine(date, time)
936936
937-
date, time -> datetime with same date and time fields.
937+
Date, time -> datetime with same date and time fields.
938938
"""
939939
return cls(datetime.combine(date, time))
940940

@@ -1153,7 +1153,7 @@ timedelta}, default 'raise'
11531153

11541154
def floor(self, freq, ambiguous='raise', nonexistent='raise'):
11551155
"""
1156-
return a new Timestamp floored to this resolution.
1156+
Return a new Timestamp floored to this resolution.
11571157
11581158
Parameters
11591159
----------
@@ -1192,7 +1192,7 @@ timedelta}, default 'raise'
11921192

11931193
def ceil(self, freq, ambiguous='raise', nonexistent='raise'):
11941194
"""
1195-
return a new Timestamp ceiled to this resolution.
1195+
Return a new Timestamp ceiled to this resolution.
11961196
11971197
Parameters
11981198
----------
@@ -1377,7 +1377,7 @@ default 'raise'
13771377
fold=0,
13781378
):
13791379
"""
1380-
implements datetime.replace, handles nanoseconds.
1380+
Implements datetime.replace, handles nanoseconds.
13811381
13821382
Parameters
13831383
----------

0 commit comments

Comments
 (0)