Python

Lesson 2

fork
loading
Files
  • main.py
  • celtics.csv
  • jamiesdata.csv
  • mlb13.csv

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.5272233798622157","path":"main.py","file":{"path":"main.py","content":{"asEncoding":{"base64":"aW1wb3J0IHBhbmRhcyBhcyBwZAoKYmFza2V0YmFsbCA9IHBkLnJlYWRfY3N2KCdjZWx0aWNzLmNzdicsaW5kZXhfY29sPTApCgojIHByaW50IHBsYXllciBkYXRhIGZvciBvbmUgdGVhbQpwcmludCgiaGVsbG8hIikKcHJpbnQoYmFza2V0YmFsbCkK"},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
import pandas as pd

basketball = pd.read_csv('celtics.csv',index_col=0)

# print player data for one team
print("hello!")
print(basketball)