tecton.TectonDataFrame

class tecton.TectonDataFrame(spark_df, pandas_df, snowflake_df=None, querytree=None)

A thin wrapper around Pandas and Spark dataframes.

Methods

__init__

Method generated by attrs for class TectonDataFrame.

to_pandas

Returns data as a Pandas DataFrame.

to_spark

Returns data as a Spark DataFrame.

__init__(spark_df, pandas_df, snowflake_df=None, querytree=None)

Method generated by attrs for class TectonDataFrame.

to_pandas()

Returns data as a Pandas DataFrame.

Returns

A Pandas DataFrame.

to_spark()

Returns data as a Spark DataFrame.

Returns

A Spark DataFrame.