Skip to content

Commit 6424c41

Browse files
committed
removed trailing whitespaces
1 parent 7ce9722 commit 6424c41

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
@@ -159,19 +159,19 @@ cdef inline object _parse_delimited_date(str date_string, bint dayfirst):
159159
if PY_VERSION_HEX >= 0x03060100:
160160
# In Python <= 3.6.0 there is no range checking for invalid dates
161161
# in C api, thus we call faster C version for 3.6.1 or newer
162-
162+
163163
if dayfirst and not swapped_day_and_month:
164164
warnings.warn(f"Parsing '{date_string}' in MM/DD/YYYY format.")
165165
elif not dayfirst and swapped_day_and_month:
166166
warnings.warn(f"Parsing '{date_string}' in DD/MM/YYYY format.")
167-
167+
168168
return datetime_new(year, month, day, 0, 0, 0, 0, None), reso
169-
169+
170170
if dayfirst and not swapped_day_and_month:
171171
warnings.warn(f"Parsing '{date_string}' in MM/DD/YYYY format.")
172172
elif not dayfirst and swapped_day_and_month:
173173
warnings.warn(f"Parsing '{date_string}' in DD/MM/YYYY format.")
174-
174+
175175
return datetime(year, month, day, 0, 0, 0, 0, None), reso
176176

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

0 commit comments

Comments
 (0)