Created
February 3, 2017 14:20
-
-
Save mmmayo13/37704eea91cfc963fab964c6eed54428 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
q = """ | |
SELECT | |
* | |
FROM | |
meat | |
LIMIT 10;""" | |
print sqldf(q, locals()) | |
# date beef veal pork lamb_and_mutton broilers other_chicken turkey | |
# 0 1944-01-01 00:00:00 751 85 1280 89 None None None | |
# 1 1944-02-01 00:00:00 713 77 1169 72 None None None | |
# 2 1944-03-01 00:00:00 741 90 1128 75 None None None | |
# 3 1944-04-01 00:00:00 650 89 978 66 None None None |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment