lightkurve.LightCurve.to_pandas

LightCurve.to_pandas(**kwargs)[source]

Converts the light curve to a Pandas DataFrame object.

The data frame will be indexed by time using values corresponding to the light curve’s time format. This is different from the default behavior of Table.to_pandas() in AstroPy, which converts time values into ISO timestamps.

Returns
dataframepandas.DataFrame

A data frame indexed by time.