Skip to content

CLN: change getargspec -> signature (using from pandas.compat) #12171

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
jreback opened this issue Jan 28, 2016 · 0 comments
Closed

CLN: change getargspec -> signature (using from pandas.compat) #12171

jreback opened this issue Jan 28, 2016 · 0 comments
Labels
Compat pandas objects compatability with Numpy or Python functions
Milestone

Comments

@jreback
Copy link
Contributor

jreback commented Jan 28, 2016

this eliminates some deprecation warnings

pandas/compat/__init__.py:
  113 :         return inspect.getargspec(f).args

# change here
pandas/tests/series/test_analytics.py:
    4 : from inspect import getargspec
  468 :             if 'numeric_only' in getargspec(f).args:

pandas/util/decorators.py:
  278 :     from inspect import getargspec
  279 :     spec = getargspec(func)
@jreback jreback added Difficulty Novice Compat pandas objects compatability with Numpy or Python functions labels Jan 28, 2016
@jreback jreback added this to the Next Major Release milestone Jan 28, 2016
@jreback jreback modified the milestones: 0.18.0, Next Major Release Feb 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compat pandas objects compatability with Numpy or Python functions
Projects
None yet
Development

No branches or pull requests

1 participant