Created
February 2, 2019 12:23
-
-
Save davideanastasia/3e60d8daa9f652f03903cf4bb7461f4e 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
taxi_data['flag'] = 1 | |
taxi_data_pivot = taxi_data.pivot(index='taxi_id', columns='geohash', values='flag').fillna(0.0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment