Advertisement
sesquiipedalian

Untitled

Jul 29th, 2023 (edited)
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. import pandas as pd
  2.  
  3. def loadNYtimes():
  4. df = pd.read_json('business_dump.json')
  5. return df
  6.  
  7. def main():
  8. df = loadNYtimes()
  9. for i in range(10):
  10. print(df.loc[i, 'abstract'])
  11.  
  12. if __name__ == '__main__':
  13. main()
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement