Closed
Description
write_deltalake
isn't working as expected
I encountered an error while calling write_deltalake
method:
ValueError : you must provide schema if data is iterable
Even though it worked perfectly with a PyArrow Table, it didn't work for Pandas DataFrame.
How to reproduce it:
# To reproduce it, just try to write a Pandas DataFrame to an S3 Bucket
write_deltalake(
<your_s3_url>,
data = df,
storage_options = storage_options,
overwrite_schema = True,
mode = 'overwrite'
)
Activity