Skip to content

Instantly share code, notes, and snippets.

View AaronCreighton's full-sized avatar

Aaron C AaronCreighton

View GitHub Profile
@talsan
talsan / query_athena.py
Last active October 29, 2023 20:07
input an athena query; return a pandas dataframe
import boto3
import time
from botocore.exceptions import ClientError
import pandas as pd
from io import BytesIO
from datetime import datetime
import pprint
import logging
log = logging.getLogger(__name__)