Skip to content

inspect-safety for DataFrame._constructor_expanddim #33628

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

Merged
merged 4 commits into from
Apr 21, 2020

Conversation

jbrockmendel
Copy link
Member

@jbrockmendel jbrockmendel commented Apr 18, 2020

Copy link
Contributor

@TomAugspurger TomAugspurger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, once you get the jinja2 thing sorted out.

@TomAugspurger
Copy link
Contributor

Ah, interesting, it's failing without jinja2, since df.style returns a Styler, which requires jinja2 to initialize.

I'm fine with just ignoring this for now, and essentially requiring jinaj2 for inspect.getmembers to work.

@jbrockmendel
Copy link
Member Author

I'm fine with just ignoring this for now, and essentially requiring jinaj2 for inspect.getmembers to work.

agreed

@jreback jreback added this to the 1.1 milestone Apr 21, 2020
@jreback jreback added the Compat pandas objects compatability with Numpy or Python functions label Apr 21, 2020
@jreback jreback merged commit f16179a into pandas-dev:master Apr 21, 2020
@jreback
Copy link
Contributor

jreback commented Apr 21, 2020

thanks

@simonjayhawkins
Copy link
Member

how about a follow-up for Series._constructor_sliced

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

Successfully merging this pull request may close these issues.

Not supported for DataFrames Exception triggered by a simple inspect.getmembers() call on a DataFrame
4 participants