From: Debian Science Team Date: Wed, 26 Aug 2020 21:34:50 +0000 (+0100) Subject: Fix typos X-Git-Tag: archive/raspbian/1.0.5+dfsg-3+rpi1^2~15 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e6e229039c05179ce43b96b9c2a4f4642e2a41cf;p=pandas.git Fix typos Author: Rebecca N. Palmer Origin: lintian Forwarded: not-needed (already fixed) Gbp-Pq: Name spelling.patch --- diff --git a/pandas/_libs/lib.pyx b/pandas/_libs/lib.pyx index 87d9394b..607d69be 100644 --- a/pandas/_libs/lib.pyx +++ b/pandas/_libs/lib.pyx @@ -2012,7 +2012,7 @@ def maybe_convert_objects(ndarray[object] objects, bint try_float=0, If an array-like object contains only timedelta values or NaT is encountered, whether to convert and return an array of m8[ns] dtype. convert_to_nullable_integer : bool, default False - If an array-like object contains only interger values (and NaN) is + If an array-like object contains only integer values (and NaN) is encountered, whether to convert and return an IntegerArray. Returns diff --git a/pandas/core/arrays/boolean.py b/pandas/core/arrays/boolean.py index 9eeed421..76d8c48c 100644 --- a/pandas/core/arrays/boolean.py +++ b/pandas/core/arrays/boolean.py @@ -390,7 +390,7 @@ class BooleanArray(BaseMaskedArray): Returns ------- array : ndarray or ExtensionArray - NumPy ndarray, BooleanArray or IntergerArray with 'dtype' for its dtype. + NumPy ndarray, BooleanArray or IntegerArray with 'dtype' for its dtype. Raises ------ diff --git a/pandas/core/arrays/integer.py b/pandas/core/arrays/integer.py index 96fdd8ee..3b4aeb59 100644 --- a/pandas/core/arrays/integer.py +++ b/pandas/core/arrays/integer.py @@ -439,7 +439,7 @@ class IntegerArray(BaseMaskedArray): Returns ------- array : ndarray or IntegerArray - NumPy ndarray or IntergerArray with 'dtype' for its dtype. + NumPy ndarray or IntegerArray with 'dtype' for its dtype. Raises ------