Skip to content

Commit 83081ea

Browse files
committed
CLN: clean up whitespace in docstring
1 parent 45bd84a commit 83081ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/_libs/tslib.pyx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,18 +300,18 @@ def array_with_unit_to_datetime(ndarray values, object unit,
300300
str errors='coerce', ndarray mask=None):
301301
"""
302302
Convert the ndarray to datetime according to the time unit.
303-
303+
304304
This function converts an array of objects into a numpy array of
305305
datetime64[ns]. It returns the converted array
306306
and also returns the timezone offset
307-
307+
308308
if errors:
309309
- raise: return converted values or raise OutOfBoundsDatetime
310310
if out of range on the conversion or
311311
ValueError for other conversions (e.g. a string)
312312
- ignore: return non-convertible values as the same unit
313313
- coerce: NaT for non-convertibles
314-
314+
315315
Parameters
316316
----------
317317
values : ndarray of object
@@ -322,7 +322,7 @@ def array_with_unit_to_datetime(ndarray values, object unit,
322322
Not-a-time mask for non-nullable integer types conversion
323323
errors : str, default 'raise'
324324
Error behavior when parsing
325-
325+
326326
Returns
327327
-------
328328
result : ndarray of m8 values

0 commit comments

Comments
 (0)