I am trying to read a CSV file from a private S3 bucket in a pandas dataframe:
df = pandas.read_csv('s3://mybucket/file.csv')
I can read the file from the public bucket, but reading the file from the private bucket results in HTTP 403: Forbidden error.
I configured AWS credentials using aws configure.
I can upload a file from my personal bucket using boto3, which uses aws credentials. It seems I need to configure pandas to use AWS credentials, but don't know how to do this.
IgorK source share