orc

Read ORC file from S3 to Pandas

Read ORC file from S3 to Pandas Question: I’m trying to read an orc file from s3 into a Pandas dataframe. In my version of pandas there is no pd.read_orc(…). I tried to do this: session = boto3.Session() s3_client = session.client(‘s3′) s3_key = “my_object_key” data = s3_client.get_object( Bucket=’my_bucket’, Key=s3_key ) orc_bytes = data[‘Body’].read() Which reads …

Total answers: 3