Created
April 15, 2020 02:16
-
-
Save sergiolucero/76d41f8d99397ed9c2012111880ff011 to your computer and use it in GitHub Desktop.
Como leer Torero desde Pandas
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
| import json, pandas as pd | |
| df = pd.read_json('twitter_premium_api_Lemebel.json', orient = 'records', lines = True) | |
| df.head() |
Author
sergiolucero
commented
Apr 15, 2020

Author
Desde Google Colab puedes bajar tu data por ejemplo diciendo
pd.read_csv('s3://bucketdegregorio/carpeta/torero.csv')
Author
df.sort_values('retweet_count',ascending=False).head(20)[['text','id','retweet_count']]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment