Reading a file from a private S3 bucket to a pandas dataframe
<p>I'm trying to read a CSV file from a private S3 bucket to a pandas dataframe:</p>

<pre><code>df = pandas.read_csv('s3://mybucket/file.csv')
</code></pre>

<p>I can read a file from a public bucket, but reading a file from a private bucket results in HTTP 403: Forbidden error.</p>

<p>I have configured the AWS credentials using aws configure.</p>

<p>I can download a file from a private bucket using boto3, which uses aws credentials. It seems that I need to configure pandas to use AWS credentials, but don't know how.</p>