pyacs.gts.lib.format.to_pandas_df module

Convert pyacs Gts instance to pandas DataFrame.

pyacs.gts.lib.format.to_pandas_df.to_pandas_df(self, data_xyz=False, uncertainty=False, round=False)[source]

Convert a pyacs Gts to a pandas DataFrame.

Parameters:
  • data_xyz (bool, optional) – If True, use .data_xyz (X,Y,Z); otherwise use .data (N,E,U).

  • uncertainty (bool, optional) – If True, include uncertainty columns.

  • round (bool, optional) – If True, round index (unused).

Returns:

Index is datetime; columns are position and optionally uncertainties.

Return type:

pandas.DataFrame

Notes

Uncertainties are included only when uncertainty=True.