tecton.DataFrame

class tecton.DataFrame(spark_df, pandas_df, snowflake_df=None)

A thin wrapper around Pandas and Spark dataframes.

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, snowflake_df=None)

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

to_pandas()

Returns data as a Pandas DataFrame.

Returns

A Pandas DataFrame.

to_spark()

Returns data as a Spark DataFrame.

Returns

A Spark DataFrame.