October 2017
Intermediate to advanced
532 pages
16h 10m
English
>>> movie = pd.read_csv('data/movie.csv')>>> imdb_score = movie['imdb_score']>>> imdb_score0 7.9
1 7.1
2 6.8
...
4913 6.3
4914 6.3
4915 6.6
Name: imdb_score, Length: 4916, dtype: float64
>>> imdb_score + 10 8.9
1 8.1
2 7.8
...
4913 7.3
4914 7.3
4915 7.6
Name: imdb_score, Length: 4916, dtype: float64
>>> imdb_score * 2.50 19.75
1 17.75
2 17.00
...
4913 15.75
4914 15.75
4915 16.50
Name: imdb_score, Length: 4916, dtype: float64
Read now
Unlock full access