Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. wines_dict = {
  2. 'Appellation': list(wine_appellations),
  3. 'Ratings': list(wine_ratings),
  4. 'Region': list(wine_regions),
  5. 'Name': list(wine_names),
  6. 'Varietal': list(wine_varietals),
  7. 'WineType': list(wine_wine_types),
  8. 'RetailPrice': list(wine_retail_prices)
  9. }
  10.  
  11. wines_df = pd.DataFrame(
  12. data = wines_dict,
  13. columns =[
  14. 'Region',
  15. 'Ratings',
  16. 'Appellation',
  17. 'Name',
  18. 'Varietal',
  19. 'WineType',
  20. 'RetailPrice'
  21. ]
  22. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement