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
extra_data.KeyData supports the pandas.Series output only for one dimensional data. For multi-dimensional data it fails with TypeError: pandas Series are only available for 1D data.
Thanks! It looks like you can even do .xarray().to_series() to get this.
I think it might be best to hold off on a shortcut for this until we have a pulse ID that's meaningful across components, though. The second layer of the MultiIndex you're getting with .to_series() or .to_dataframe() is basically meaningless at the moment, but pandas will still happily line up dim_0 from one series with dim_0 from another and give you garbage results. If we one day have common pulse IDs that we can put in the second index layer, it would make a whole lot more sense.
extra_data.KeyData supports the
pandas.Series
output only for one dimensional data. For multi-dimensional data it fails withTypeError: pandas Series are only available for 1D data
.With MultiIndex, support for multi-dimensional data could be added to produce a
pandas.Series
like:The text was updated successfully, but these errors were encountered: