Skip to content

Commit 9f1f7c9

Browse files
arw2019MarcoGorelli
authored andcommitted
removed trailing whitespaces
1 parent 0ee3428 commit 9f1f7c9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/_libs/tslibs/parsing.pyx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,19 +178,19 @@ cdef inline object _parse_delimited_date(str date_string, bint dayfirst):
178178
if PY_VERSION_HEX >= 0x03060100:
179179
# In Python <= 3.6.0 there is no range checking for invalid dates
180180
# in C api, thus we call faster C version for 3.6.1 or newer
181-
181+
182182
if dayfirst and not swapped_day_and_month:
183183
warnings.warn(f"Parsing '{date_string}' in MM/DD/YYYY format.")
184184
elif not dayfirst and swapped_day_and_month:
185185
warnings.warn(f"Parsing '{date_string}' in DD/MM/YYYY format.")
186-
186+
187187
return datetime_new(year, month, day, 0, 0, 0, 0, None), reso
188-
188+
189189
if dayfirst and not swapped_day_and_month:
190190
warnings.warn(f"Parsing '{date_string}' in MM/DD/YYYY format.")
191191
elif not dayfirst and swapped_day_and_month:
192192
warnings.warn(f"Parsing '{date_string}' in DD/MM/YYYY format.")
193-
193+
194194
return datetime(year, month, day, 0, 0, 0, 0, None), reso
195195

196196
raise DateParseError(f"Invalid date specified ({month}/{day})")

0 commit comments

Comments
 (0)