How can I convert my dataframe df
to a list of rows?
Code
df = glueContext.create_dynamic_frame_from_options(
connection_type = "s3",
connection_options = {"paths": ["s3://data/tmp1/file.csv"]},
format = "csv",
)
df = df.toDF()
list = df.values.tolist()
Error
dataframe has no attribute values