You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, Ray - I'm a keen Xarray user myself, and have some good news: as of a few weeks ago, Xarray ships strategies themselves! The stable set is basically just Variables at the moment, but people are actively working on the rest of the key types and I'm optimistic about shipping something awesome in the coming weeks.
I'm also pretty excited about the new pattern of shipping the integrations on the upstream-library side rather than in Hypothesis itself - it's a great way to encourage more people to try property-based testing, and ensures that the maintainers with deep expertise in e.g. Xarray are the ones maintaining the integration. (by contrast, hypothesis.extra.django rather suffers from there being no Django users among the Hypothesis maintainers)
I use
hypothesis.extra.pandas
for creation of pandas.DataFrame. e.g. https://hypothesis.readthedocs.io/en/latest/numpy.html#hypothesis.extra.pandas.data_framesI would be great to have something similar for xarray. I'm not sure what the API would look like but here is a mock up
which could wrap the numpy functions
The text was updated successfully, but these errors were encountered: