Amazon web services – Not seeing column names when reading csv from s3 in pandas
I am using the following bit of code to read the iris dataset from an s3 bucket. import pandas as pd import s3fs s3_path = 's3://h2o-public-test-data/smalldata/iris/iris.csv' s3 = s3fs.S3FileSystem(anon=True) with s3.open(s3_path, 'rb') as f: df = pd.read_csv(f, header = True)…