stats
This commit is contained in:
parent
ba93143980
commit
ccb54122cc
1 changed files with 3 additions and 1 deletions
4
stats.py
4
stats.py
|
@ -12,6 +12,7 @@ mini_series = filter(lambda x: 'Mini-Series' in x['title'], data)
|
|||
tv_series = filter(lambda x: 'TV Series' in x['title'], data)
|
||||
tv_movies = filter(lambda x: 'TV Movie' in x['title'], data)
|
||||
tv_special = filter(lambda x: 'TV Special' in x['title'], data)
|
||||
documentary = filter(lambda x: 'Documentary' in x['title'], data)
|
||||
#cinema = set(data) - set(mini_series) - set(tv_series) - set(tv_movies)
|
||||
|
||||
|
||||
|
@ -19,8 +20,9 @@ print len(tv_special), 'TV Specials'
|
|||
print len(tv_series), 'TV Series'
|
||||
print len(tv_movies), 'TV Movies'
|
||||
print len(mini_series), 'Mini-Series'
|
||||
print len(documentary), 'Documentaries'
|
||||
#print len(cinema), 'Cinema'
|
||||
print len(data) - len(mini_series) - len(tv_movies) - len(tv_series) - len(tv_special), 'Movies'
|
||||
print len(data) - len(mini_series) - len(tv_movies) - len(tv_series) - len(tv_special) - len(documentary), 'Movies'
|
||||
print len(data), 'total'
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue