From 27c82ce7e9bb4f05e5652ee9ec2e91d388b5ff46 Mon Sep 17 00:00:00 2001 From: raghavgai Date: Mon, 25 Nov 2019 05:37:59 +0530 Subject: [PATCH 1/2] Corrected spelling mistakes --- pandas/core/missing.py | 2 +- pandas/tests/plotting/test_converter.py | 2 +- pandas/tseries/converter.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pandas/core/missing.py b/pandas/core/missing.py index fc54c03c042b7..41664db7f2b31 100644 --- a/pandas/core/missing.py +++ b/pandas/core/missing.py @@ -329,7 +329,7 @@ def _interpolate_scipy_wrapper( } if getattr(x, "is_all_dates", False): - # GH 5975, scipy.interp1d can't hande datetime64s + # GH 5975, scipy.interp1d can't handle datetime64s x, new_x = x._values.astype("i8"), new_x.astype("i8") if method == "pchip": diff --git a/pandas/tests/plotting/test_converter.py b/pandas/tests/plotting/test_converter.py index ccc2afbb8b824..c2bdea39ae30d 100644 --- a/pandas/tests/plotting/test_converter.py +++ b/pandas/tests/plotting/test_converter.py @@ -22,7 +22,7 @@ from pandas.plotting._matplotlib import converter except ImportError: # try / except, rather than skip, to avoid internal refactoring - # causing an improprer skip + # causing an improper skip pass pytest.importorskip("matplotlib.pyplot") diff --git a/pandas/tseries/converter.py b/pandas/tseries/converter.py index c2b76188ad36b..285eacf824750 100644 --- a/pandas/tseries/converter.py +++ b/pandas/tseries/converter.py @@ -2,7 +2,7 @@ import warnings # TODO `_matplotlib` module should be private, so the plotting backend -# can be change. Decide whether all these should be public and exponsed +# can be change. Decide whether all these should be public and exposed # in `pandas.plotting`, or remove from here (I guess they are here for # legacy reasons from pandas.plotting._matplotlib.converter import ( From 41812516ec5419aaffb1130b341d92cfdbfabd56 Mon Sep 17 00:00:00 2001 From: Raghav <46572696+raghavgai@users.noreply.github.com> Date: Tue, 26 Nov 2019 07:56:48 +0530 Subject: [PATCH 2/2] Updated Thanks --- pandas/tseries/converter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/tseries/converter.py b/pandas/tseries/converter.py index 285eacf824750..ac80215e01ed5 100644 --- a/pandas/tseries/converter.py +++ b/pandas/tseries/converter.py @@ -2,9 +2,9 @@ import warnings # TODO `_matplotlib` module should be private, so the plotting backend -# can be change. Decide whether all these should be public and exposed +# can be changed. Decide whether all these should be public and exposed # in `pandas.plotting`, or remove from here (I guess they are here for -# legacy reasons +# legacy reasons) from pandas.plotting._matplotlib.converter import ( DatetimeConverter, MilliSecondLocator,