We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Follow up on #677
cc @MaximilianR
The text was updated successfully, but these errors were encountered:
I think this is why it doesn't currently work: http://stackoverflow.com/questions/35442924/how-does-pythons-dict-constructor-handle-mappings
Tangentially related to: pandas-dev/pandas#12056 - i.e. from the pandas side, should Series be Mappings?
We could add a separate path for Series in the dataset constructor, or even monkey patch ChainMap. Neither seems that elegant
Series
ChainMap
Sorry, something went wrong.
I would be perfectly happy with adding something like this to the Dataset constructor:
if isinstance(data_vars, pd.Series): data_vars = dict(data_vars)
No branches or pull requests
Follow up on #677
cc @MaximilianR
The text was updated successfully, but these errors were encountered: