pysyncrosim.library.Library.save_datasheet
- Library.save_datasheet(name, data, append=False, force=False, scope='Library', *ids)
Saves a pandas DataFrane as a SyncroSim Datasheet.
- Parameters:
name (String) – Name of the Datasheet.
data (pandas DataFrame) – DataFrame of Datasheet values.
append (Logical, optional) – If set to True, appends the DataFrame to the existing Datasheet (if the Datasheet accepts multiple rows). If False, then the user must also specify force as True to overwrite the existing Datasheet. Default is False.
force (Logical, optional) – If set to True while append is False, overwrites the existing Datasheet. The user should be aware that this may also delete other definitions and results, so this argument should be used with care. Default is False.
scope (String, optional) – Scope of the Datasheet. The default is “Library”.
*ids (Int) – If Project- or Scenario-scoped, requires the Project or Scenario IDs.
- Return type:
None.