Skip to content

Commit c289922

Browse files
docs: Fixed doctests in arrays/datetimelike.py
1 parent 3b02d68 commit c289922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/arrays/datetimelike.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,7 @@ def strftime(self, date_format: str) -> npt.NDArray[np.object_]:
17781778
>>> rng.strftime("%%B %%d, %%Y, %%r")
17791779
Index(['March 10, 2018, 09:00:00 AM', 'March 10, 2018, 09:00:01 AM',
17801780
'March 10, 2018, 09:00:02 AM'],
1781-
dtype='object')
1781+
dtype='str')
17821782
"""
17831783
result = self._format_native_types(date_format=date_format, na_rep=np.nan)
17841784
if using_string_dtype():

0 commit comments

Comments
 (0)