Skip to content

Instantly share code, notes, and snippets.

@wrobstory
Last active August 29, 2015 14:06
Show Gist options
  • Save wrobstory/f6db9d03a8f10f907018 to your computer and use it in GitHub Desktop.
Save wrobstory/f6db9d03a8f10f907018 to your computer and use it in GitHub Desktop.
Malort API
stats = malort.run('mydir/files', delimiter='|')
redshift_suggestions = malort.get_redshift_types(stats)
df = malort.get_dataframe(stats)
# OR
result = malort.run('mydir/files', delimiter='|')
redshift_suggestions = result.get_redshift_types()
df = result.get_dataframe()
# Where result is an object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment