mlnext.data.load_data#
- mlnext.data.load_data(path: str, *, verbose: bool = True, **kwargs) DataFrame [source]#
Loads data from path.
- Parameters:
path (str) – Path to csv.
format (T.Dict[str, T.Any]) – Keywords for pd.read_csv.
- Returns:
Returns the loaded data.
- Return type:
pd.DataFrame
Example
>>> # Loading data from a csv file with custom seperator >>> data = load_data('./data/train.csv', sep=',') Loaded train.csv with 1000 rows and 18 columns.