IAP GITLAB

Skip to content
Snippets Groups Projects
Commit e4ec4518 authored by Remy Prechelt's avatar Remy Prechelt
Browse files

Provide 'data' attribute for default type.

parent 02445d4e
No related branches found
No related tags found
No related merge requests found
...@@ -83,6 +83,23 @@ class Output(ABC): ...@@ -83,6 +83,23 @@ class Output(ABC):
""" """
pass pass
@property
def data(self) -> Any:
"""
Return the data in its default format.
We try to use Pandas as the default format for most data.
Parameters
----------
Returns
-------
Any:
The data in its default format.
"""
return self.astype()
@staticmethod @staticmethod
def load_config(path: str) -> Dict[str, Any]: def load_config(path: str) -> Dict[str, Any]:
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment