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
For a given Python interface of a StatisKit software component (e.g., StatisKit-Core), to load a data frame (e.g., data), an user must be able to type:
To save data into a data directory at the root of the Python package tree (e.g., src/py/statiskit/core/data).
That this data directory cannot be imported (e.g., from statiskit.core import data should raise a ImportError: No module named statiskit.core.data error)
To do so, a load_data function could defined in src/py/statiskit/core/_tools.py file.
Using a the __file__ variable of a __init__.py module file as input, this function should be able to load a data file from its basename prefix (e.g., use the input string "data" for loading the dataframe saved in the "data.dsv" file).
The text was updated successfully, but these errors were encountered:
For a given Python interface of a StatisKit software component (e.g., StatisKit-Core), to load a data frame (e.g.,
data
), an user must be able to type:For now, we consider:
;
column separator,.dsv
extension.data
directory at the root of the Python package tree (e.g.,src/py/statiskit/core/data
).data
directory cannot be imported (e.g.,from statiskit.core import data
should raise aImportError: No module named statiskit.core.data
error)To do so, a
load_data
function could defined insrc/py/statiskit/core/_tools.py
file.Using a the
__file__
variable of a__init__.py
module file as input, this function should be able to load a data file from its basename prefix (e.g., use the input string"data"
for loading the dataframe saved in the"data.dsv"
file).The text was updated successfully, but these errors were encountered: