ramp.Plot.from_file¶
- classmethod Plot.from_file(file, sheet_name=0, sep=',', index=None)¶
initializing a Plot object from a file results
- Parameters:
file (str) – path to the file of the results
sheet_name (int,str, optional) – sheet_name of the result in case an excel file is passed, by default 0
sep (str, optional) – separator in case a csv file is passed, by default “,”
index (pd.DatetimeIndex, optional) – if df index is not pd.DatetimeIndex, an DatetimeIndex object can be passed to change the index
- Returns:
A Plot object
- Return type:
Plot