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
Group.members and Bundle are intended to make it easy to manipulate many Containers at once, but currently they only give access to the objects themselves. It would be useful to include methods that yield aggregate information from these collections. Both objects would have these methods in common.
For example, could have
Bundle.data, which gives access to concatenations of stored pandas data sets. It grabs any datasets it can that match the handle given, and tries to concatenate them. Would be useful for quickly aggregating and manipulating ensemble data.
Bundle.tags, which gives all tags present in the collection. Could have keywords for any and all criterion for what to return.
The text was updated successfully, but these errors were encountered:
Working on this now. The basic idea is that Bundle and Members will look similar in interface to a Container, having tags, categories, and data properties that allow manipulations on all members.
One point of interest: I currently have a Group.members.data.retrieve() method that will work for dataframe data by creating a multi-index concatenation of the dataframes for each member corresponding to the given handle. The first index level contains the name of the member (which is actually a minor problem, since names need not be unique (though neither must indexes)), while the second level gives the original index. This can work fine for dataframes and series, but will simply not work for Panel and Panel4D structures.
I'm not sure what reasonable aggregation scheme for these structures should be. Further, what's a reasonable structure for data that are numpy arrays or pure python (pickled) structures? Should we just through the structures in a list, essentially doing:
Group.members
andBundle
are intended to make it easy to manipulate many Containers at once, but currently they only give access to the objects themselves. It would be useful to include methods that yield aggregate information from these collections. Both objects would have these methods in common.For example, could have
Bundle.data
, which gives access to concatenations of stored pandas data sets. It grabs any datasets it can that match the handle given, and tries to concatenate them. Would be useful for quickly aggregating and manipulating ensemble data.Bundle.tags
, which gives all tags present in the collection. Could have keywords forany
andall
criterion for what to return.The text was updated successfully, but these errors were encountered: