malariagen / malariagen-data-python

Analyse MalariaGEN data from Python
https://malariagen.github.io/malariagen-data-python/latest/
MIT License
14 stars 24 forks source link

Don't use coordinates in xarray Datasets #179

Open alimanfoo opened 2 years ago

alimanfoo commented 2 years ago

Coordinates are not particularly useful, a bit confusing and do lead to some surprising behaviour, especially when converting data from xarray Datasets to pandas DataFrames.

Suggest just make everything a data variable.

leehart commented 2 months ago

I might have the wrong end of the stick, but it looks like Xarray coords are used quite extensively in this codebase. Is this definitely a refactor we still want to embark on? Perhaps we can break the task down by module.