read_pyspark¶
-
DataFrame.
read_pyspark
(spark_df, append=False)[source]¶ Uploads a
pyspark.sql.DataFrame
.Replaces the actual content of the underlying data frame in the getML engine with pandas_df.
- Args:
- spark_df (
pyspark.sql.DataFrame
): Data the underlying data frame object in the getML engine should obtain.
- append (bool, optional):
If a data frame object holding the same
name
is already present in the getML engine, should the content in query be appended or replace the existing data?
- spark_df (