Skip to content

DOC: remove references to deprecated numpy negation method #13310

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pandas/core/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def _isnull_old(obj):

def _use_inf_as_null(key):
"""Option change callback for null/inf behaviour
Choose which replacement for numpy.isnan / -numpy.isfinite is used.
Choose which replacement for numpy.isnan / ~numpy.isfinite is used.

Parameters
----------
Expand Down Expand Up @@ -233,7 +233,7 @@ def _isnull_ndarraylike_old(obj):


def notnull(obj):
"""Replacement for numpy.isfinite / -numpy.isnan which is suitable for use
"""Replacement for numpy.isfinite / ~numpy.isnan which is suitable for use
on object arrays.

Parameters
Expand Down Expand Up @@ -1115,7 +1115,7 @@ def _possibly_cast_to_datetime(value, dtype, errors='raise'):

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

Expand Down