From 714c334a71dc334772c56b9115525097858c8686 Mon Sep 17 00:00:00 2001 From: Dody Suria Wijaya Date: Thu, 1 Dec 2016 19:15:19 -0600 Subject: [PATCH] Fix a simple typo --- pandas/core/ops.py | 2 +- pandas/io/tests/test_pytables.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/core/ops.py b/pandas/core/ops.py index 7cff1104c50be..96b447cda4bc4 100644 --- a/pandas/core/ops.py +++ b/pandas/core/ops.py @@ -421,7 +421,7 @@ def _validate(self, lvalues, rvalues, name): # if tz's must be equal (same or None) if getattr(lvalues, 'tz', None) != getattr(rvalues, 'tz', None): - raise ValueError("Incompatbile tz's on datetime subtraction " + raise ValueError("Incompatible tz's on datetime subtraction " "ops") elif ((self.is_timedelta_lhs or self.is_offset_lhs) and diff --git a/pandas/io/tests/test_pytables.py b/pandas/io/tests/test_pytables.py index 72973105ff3bd..aa59a74606674 100644 --- a/pandas/io/tests/test_pytables.py +++ b/pandas/io/tests/test_pytables.py @@ -1947,7 +1947,7 @@ def test_append_raise(self): self.assertRaises(TypeError, store.append, 'df', Series(np.arange(10))) - # appending an incompatbile table + # appending an incompatible table df = tm.makeDataFrame() store.append('df', df)