Skip to content

Commit b787468

Browse files
dodyswjreback
authored andcommitted
Fix a simple typo (#14785)
1 parent b308327 commit b787468

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/core/ops.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ def _validate(self, lvalues, rvalues, name):
421421

422422
# if tz's must be equal (same or None)
423423
if getattr(lvalues, 'tz', None) != getattr(rvalues, 'tz', None):
424-
raise ValueError("Incompatbile tz's on datetime subtraction "
424+
raise ValueError("Incompatible tz's on datetime subtraction "
425425
"ops")
426426

427427
elif ((self.is_timedelta_lhs or self.is_offset_lhs) and

pandas/io/tests/test_pytables.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1947,7 +1947,7 @@ def test_append_raise(self):
19471947
self.assertRaises(TypeError, store.append,
19481948
'df', Series(np.arange(10)))
19491949

1950-
# appending an incompatbile table
1950+
# appending an incompatible table
19511951
df = tm.makeDataFrame()
19521952
store.append('df', df)
19531953

0 commit comments

Comments
 (0)