v0.3.0
v0.3.0 is a major update comprising one breaking change (see below).
Users are encouraged to update to this version.
Breaking Change
- Moved classes 'Case' and 'Parameter' from farn.farn to farn.core
As a consequence, if you imported these classes in your code, you need to
adapt the respective import statements. I.e.
oldnewfrom farn.farn import Case, Parameter
from farn.core import Case, Parameter
Added
- Added a 'Cases' class, acting as a container for Case instances.
Cases inherits from List[Case] and can hence transparently be used as a Python list type.
However, Cases provides additional convenience methods to export the attributes of all contained Case instances to a pandas DataFrame (Cases.to_pandas()) or to a numpy ndarray (Cases.to_numpy())
Cases is located in the farn.core sub-package and can be imported from there, i.e:from farn.core import Case, Cases, Parameter