Closed eyaltrabelsi closed 5 years ago
Hm, this is a really cool idea.
I'd be happy to review+accept a PR for this idea. Would you be interested in porting this from pyjanitor?
@ericmjl @zbarry pinging you for discussion as well.
Now I'm regretting the name pandas_flavor
😆
@Zsailer sure how should i name the file :)
For now, let's name it xarray.py
and import the register methods in the __init__.py
. We may refactor after further discussion.
Yeah this would be great to have in here. It felt weird basically cloning pf's model in a separate package.
Now I'm regretting the name pandas_flavor laughing
:)
@Zsailer - if it's ok with you, would you mind cutting a release with the xarray addition and update the conda-forge package so I could go ahead and refactor the pyjanitor xarray code to depend on it?
@zbarry, I've released v0.2.0 with xarray support. It's available on PyPI now. I'm updating the conda-forge package—you can watch the progress here.
@Zsailer - Appreciate it!
Closing, since this was merged in #15! Thanks, @eyaltrabelsi!
Thanks again, both.
It seems that pandas_flavor
now requires xarray
to be installed now, even if I choose not to use xarray
. Perhaps this should have been an optional dependency?
I think it can be beneficial to allow to extend xarray (for example of usecase )