Skip to content

Commit 39c797d

Browse files
authored
Whitespace fixup
1 parent e087b94 commit 39c797d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/_libs/tslibs/period.pyx

+2-2
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ cdef inline int64_t transform_via_day(int64_t ordinal,
307307
result = second_func(result, af_info)
308308
return result
309309

310+
310311
# --------------------------------------------------------------------
311312
# Conversion _to_ Daily Freq
312313

@@ -976,7 +977,6 @@ cdef inline int month_to_quarter(int month):
976977
# ----------------------------------------------------------------------
977978
# Period logic
978979

979-
980980
def dt64arr_to_periodarr(int64_t[:] dtarr, int freq, tz=None):
981981
"""
982982
Convert array of datetime64 values (passed in as 'i8' dtype) to a set of
@@ -1227,6 +1227,7 @@ cdef list extra_fmts = [(b"%q", b"^`AB`^"),
12271227
cdef list str_extra_fmts = ["^`AB`^", "^`CD`^", "^`EF`^",
12281228
"^`GH`^", "^`IJ`^", "^`KL`^"]
12291229

1230+
12301231
cdef object _period_strftime(int64_t value, int freq, object fmt):
12311232
cdef:
12321233
Py_ssize_t i
@@ -1236,7 +1237,6 @@ cdef object _period_strftime(int64_t value, int freq, object fmt):
12361237
list found_pat = [False] * len(extra_fmts)
12371238
int year, quarter
12381239

1239-
12401240
if isinstance(fmt, unicode):
12411241
fmt = fmt.encode('utf-8')
12421242

0 commit comments

Comments
 (0)