load_data#
- pytwin.load_data(inputs)#
Load the input data from a CVS file into a Pandas dataframe.
- Parameters:
- inputs
str Path of the CSV file. This file must contain the
Timecolumn and all input data for the twin model.
- inputs
- Returns:
- inputs_df:
pandas.DataFrame A Pandas dataframe storing time values and all corresponding input data.
- inputs_df:
Examples
>>> from pytwin import load_data, download_file >>> csv_input = download_file("CoupledClutches_input.csv", "twin_input_files") >>> twin_model_input_df = load_data(csv_input)