I want to write a data frame column in .ann format to S3.
Right now I am using the following code to do that.
df['user_input'].to_csv(ann_file_path, header=None, index=None, sep=' ')
Where ann_file_path is the full path of the .ann file on the Server.
I am getting following error message:
[Errno 22] Invalid argument: 'https://s3-eu-west-1.amazonaws.com/bucket/sub_folder/somefile.ann'
Why am I getting that?
Also, do I need to use Boto3 to write or can I directly write the file on S3 with full path?
I can think of some authorization might be required for that but the error message seems different from something related to authorization.