Last active
April 14, 2020 05:27
-
-
Save aniruddha27/bbe01ea1f20680d463a8bd8bbee67c5f 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
# GROUPBY statement | |
df = pd.read_sql_query('''Select Count(id) from train | |
Group by emailer_for_promotion;''',conn) | |
df |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment