ramp.User.export_to_dataframe

User.export_to_dataframe() DataFrame

Saves/returns the model databas including allappliances as a single pd.DataFrame or excel file.

Returns:

if filename is passed, returnes None, otherwise will return a pd.DataFrame

Return type:

pd.DataFrame

Raises:

Exception – if now appliaces is assigned to the user and the function is called.

Notes

Appliances are added to the user-type only if ‘windows’ method of the Appliance is called.