load_data#
- pytwin.load_data(inputs)#
Load a CSV input file into a Pandas Dataframe.
- Parameters:
- inputs
str
Path of the CSV file to be loaded, containing the Time column and all the Twin inputs data.
- inputs
- Returns:
- inputs_df:
pandas.DataFrame
A
pandas.DataFrame
storing time values as well as all the 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)