Containers#
Sciris includes several container classes for making it easier to work with data:
Dictionaries are great, right?
sc.odict()
is a drop-in replacement for a dictionary that has lots of extra features (such as retrieving items by index).Pandas DataFrames are great, right?
sc.dataframe()
is a drop-in replacement for a DataFrame that has some additional features for ease of use (such as being able to concatenate in place).
The "odict" class, combining features from an OrderedDict and a list/array. |
|
Extension of the pandas dataframe to be more flexible, especially with filtering rows/columns and concatenating data. |