Closed geek-yang closed 2 years ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
Finally, green CI! @geek-yang @semvijverberg please briefly review as we've already discussed it yesterday. Since then I've added tests, tests, tests, type annotations, and some additional sanity checks.
@Peter9192 Nice work! The implementation is very elegant! I have a few very small comments to add. Since this PR is opened by me, I can not approve it. I would prefer @semvijverberg to take care of it. Well done!
Kudos, SonarCloud Quality Gate passed!
In this PR we implement an iterator for train/test splits, which enable the user to easily fetch train/test data from each split. The potential usecases are listed in issue AI4S2S/s2spy#71.
traintest.py
xr.Dataset
andpd.DataFrame
~ Only xarrayThis PR closes AI4S2S/s2spy#71. And AI4S2S/lilio#46