Skip to content
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

Feature Request: Expand option for __error__ #3

Open
eric-downes opened this issue Oct 5, 2019 · 0 comments
Open

Feature Request: Expand option for __error__ #3

eric-downes opened this issue Oct 5, 2019 · 0 comments

Comments

@eric-downes
Copy link

Right now, to access an error of a pandas_mapper object m, I have to do something like this: m.errors.__error__.iloc[0] which returns a dict

Since the __error__ column is a dict that always has the same columns, it would be more convenient to have it expand those keys into dataframe columns (you can prepend "pdmap_err_" to each key first if you're afraid of clobbering existing columns.

At least, it would be nice to have such an option even if it weren't the default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant