Skip to content

Commit af4ed0f

Browse files
mortadajreback
authored andcommitted
DOC: remove references to deprecated numpy negation method
Author: Mortada Mehyar <[email protected]> Closes pandas-dev#13310 from mortada/deprecated_negation_in_docs and squashes the following commits: 3b46a1b [Mortada Mehyar] DOC: remove references to deprecated numpy negation method
1 parent c2ea8fb commit af4ed0f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/core/common.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def _isnull_old(obj):
142142

143143
def _use_inf_as_null(key):
144144
"""Option change callback for null/inf behaviour
145-
Choose which replacement for numpy.isnan / -numpy.isfinite is used.
145+
Choose which replacement for numpy.isnan / ~numpy.isfinite is used.
146146
147147
Parameters
148148
----------
@@ -233,7 +233,7 @@ def _isnull_ndarraylike_old(obj):
233233

234234

235235
def notnull(obj):
236-
"""Replacement for numpy.isfinite / -numpy.isnan which is suitable for use
236+
"""Replacement for numpy.isfinite / ~numpy.isnan which is suitable for use
237237
on object arrays.
238238
239239
Parameters
@@ -1115,7 +1115,7 @@ def _possibly_cast_to_datetime(value, dtype, errors='raise'):
11151115

11161116
def _possibly_infer_to_datetimelike(value, convert_dates=False):
11171117
"""
1118-
we might have a array (or single object) that is datetime like,
1118+
we might have an array (or single object) that is datetime like,
11191119
and no dtype is passed don't change the value unless we find a
11201120
datetime/timedelta set
11211121

0 commit comments

Comments
 (0)