Created
April 9, 2019 17:59
-
-
Save dipanjanS/4da05e71f0a6b769c647a0dd7b8806bf to your computer and use it in GitHub Desktop.
This file contains hidden or 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
host_day_df = logs_df.select(logs_df.host, | |
F.dayofmonth('time').alias('day')) | |
host_day_df.show(5, truncate=False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment