From: Debian Science Team Date: Thu, 9 Apr 2020 03:11:32 +0000 (+0100) Subject: Fix typos X-Git-Tag: archive/raspbian/0.25.3+dfsg2-2+rpi1~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b9152f97e8924cc4e34d0f812c561d90ebc4812b;p=pandas.git Fix typos Author: Rebecca N. Palmer Origin: lintian Forwarded: no Gbp-Pq: Name spelling.patch --- diff --git a/pandas/_libs/lib.pyx b/pandas/_libs/lib.pyx index fef17fd4..ed5feabf 100644 --- a/pandas/_libs/lib.pyx +++ b/pandas/_libs/lib.pyx @@ -510,7 +510,7 @@ def maybe_booleans_to_slice(ndarray[uint8_t] mask): @cython.wraparound(False) @cython.boundscheck(False) def array_equivalent_object(left: object[:], right: object[:]) -> bool: - """ perform an element by element comparion on 1-d object arrays + """ perform an element by element comparison on 1-d object arrays taking into account nan positions """ cdef: Py_ssize_t i, n = left.shape[0] diff --git a/pandas/_libs/tslibs/timestamps.pyx b/pandas/_libs/tslibs/timestamps.pyx index c8c6efda..f124d758 100644 --- a/pandas/_libs/tslibs/timestamps.pyx +++ b/pandas/_libs/tslibs/timestamps.pyx @@ -595,7 +595,7 @@ default 'raise' @property def dayofweek(self): """ - Return day of whe week. + Return day of the week. """ return self.weekday()