Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Import the data set into a Panda data frame
- import pandas as pd
- from io import StringIO
- import requests
- act = requests.get('https://docs.google.com/spreadsheets/d/1udJ4nd9EKlX_awB90JCbKaStuYh6aVjh1X6j8iBUXIU/export?format=csv')
- dataact = act.content.decode('utf-8') # To convert to string for Stringio
- frame = pd.read_csv(StringIO(dataact))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement