Skip to content

Commit 848b1b0

Browse files
committed
address comment misspelling
1 parent abc575f commit 848b1b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/_libs/tslibs/strptime.pyx

+2-2
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def array_strptime(ndarray[object] values, object fmt,
167167
if is_coerce:
168168
iresult[i] = NPY_NAT
169169
continue
170-
raise ValueError("Inconsistent data remains: %s" %
170+
raise ValueError("unconverted data remains: %s" %
171171
values[i][found.end():])
172172

173173
# search
@@ -299,7 +299,7 @@ def array_strptime(ndarray[object] values, object fmt,
299299
z = z[:3] + z[4:]
300300
if len(z) > 5:
301301
if z[5] != ':':
302-
msg = "Unconsistent use of : in {0}"
302+
msg = "Inconsistent use of : in {0}"
303303
raise ValueError(msg.format(found_dict['z']))
304304
z = z[:5] + z[6:]
305305
hours = int(z[1:3])

0 commit comments

Comments
 (0)