tecton.DataFrame

class tecton.DataFrame(spark_df, pandas_df)

DataFrame class.

This class is a thin wrapper around a Spark / Pandas DataFrame. To access functionality, use the to_pandas or to_spark method.

Methods

__init__

Initialize self.

to_pandas

Returns data as a Pandas DataFrame.

to_spark

Returns data as a Spark DataFrame.

__init__(spark_df, pandas_df)

Initialize self. See help(type(self)) for accurate signature.

to_pandas()

Returns data as a Pandas DataFrame.

to_spark()

Returns data as a Spark DataFrame.