Created
May 2, 2020 13:17
-
-
Save anbento0490/fa322f3c08d04ac8a13e68aa0d8c612e 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
#3. DENSE_RANK() --> RANK(method='dense') | |
orders['Dense Rank'] = orders.groupby(['Customer ID'])['Order Date'].rank(method='dense') | |
orders.head(10) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment