IkeNefcy commented on issue #38000:
URL: https://github.com/apache/arrow/issues/38000#issuecomment-1745759195
This is how I am writing this sample
```
import pandas as pd
import boto3
def main():
s3 = boto3.resource('s3')
schedule = []
row = {
'start_time_local':'2023-09-11 10:39',
'end_time_local':'2023-09-11 10:39',
'start_time_utc':'2023-09-11 10:39',
'end_time_utc':'2023-09-11 10:39'
}
schedule.append(row)
data = pd.DataFrame(schedule)
s3Loc = 'adhoc_tables/test'
data['start_time_local'] = pd.to_datetime(data['start_time_local'])
data['end_time_local'] = pd.to_datetime(data['end_time_local'])
data['start_time_utc'] = pd.to_datetime(data['start_time_utc'])
data['end_time_utc'] = pd.to_datetime(data['end_time_utc'])
bucket = s3.Object('bucket_name', s3Loc)
bucket.put(Body=data.to_parquet(index=False))
return
if __name__ == "__main__":
main()
```
Times are random. If I force pip to install <=12.0.1 this work fine. Then
13.0.0 it does not.
[test.zip](https://github.com/apache/arrow/files/12797096/test.zip)
This is a zip, it wouldn't allow me to upload a parquet
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]