SHARE
TWEET

Untitled

MIK123JE Oct 17th, 2019 102 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. opened_file = open('AppleStore.csv')
  2. from csv import reader
  3. read_file = reader(opened_file)
  4. apps_data = list(read_file)
  5.  
  6. def extract(column_index):
  7.     column_values = []
  8.     for col in apps_data[1:]:
  9.         values = col[column_index]
  10.         column_values.append(values)
  11.     return column_values
  12.  
  13. genres = extract(11)
  14. print(genres)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top