Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tommydangerous/e8d4ad98bf260b20509c58c12ec682b4 to your computer and use it in GitHub Desktop.
Save tommydangerous/e8d4ad98bf260b20509c58c12ec682b4 to your computer and use it in GitHub Desktop.
from deltalake import DeltaTable
dt = DeltaTable(
# Change this to your unique URI from a previous step
# if you’re using your own AWS credentials.
's3://mage-demo-public/battle-history-versioned/1337',
storage_options={
'AWS_ACCESS_KEY_ID': '...',
'AWS_SECRET_ACCESS_KEY': '...',
},
version=0,
)
dt.to_pandas()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment