Skip to content

Commit

Permalink
Added analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
viktoriia-yuzkiv committed May 26, 2017
1 parent 40e1a69 commit 198f2b6
Show file tree
Hide file tree
Showing 6 changed files with 123 additions and 119 deletions.
Binary file added doc/Analysis of the research results.docx
Binary file not shown.
Binary file added doc/Conclusions.docx
Binary file not shown.
6 changes: 5 additions & 1 deletion modules/my_research.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,16 @@ def main():
save_info(sorted(actors_list, key=lambda x: x[1], reverse=True), "popular_actors.txt")

# seasons
average = 0
allseasons = series.series_seasons()
save_info(sorted(allseasons.items(), key=lambda x: x[1], reverse=True), "series_seasons.txt")
for key, val in allseasons.items():
average += val

# titles
alltitles = series.series_titles()
save_info(sorted(alltitles.items(), key=lambda x: x[1], reverse=True), "series_titles.txt")
return int(average / 47)


main()
print(main())
48 changes: 24 additions & 24 deletions modules/popular_actors.txt
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
3 - Jesse Plemons
3 - Martin Freeman
2 - Bob Odenkirk
2 - Aidan Gillen
2 - Michael B. Jordan
2 - Dan Castellaneta
2 - Alan Alda
2 - Marcia Wallace
2 - Lawrence Gilliard Jr.
2 - Edie Falco
2 - Nick Offerman
2 - Connie Britton
2 - Austin Nichols
2 - Jeffrey Tambor
2 - Anna Gunn
2 - Aidan Gillen
2 - Lars Mikkelsen
2 - Keith Carradine
2 - Laurie Holden
2 - Alan Dale
2 - Jean Smart
2 - Alexander Siddig
2 - Michael B. Jordan
2 - Seth Gilliam
2 - Nancy Cartwright
2 - Mackenzie Crook
2 - Rob Lowe
2 - Robert Clohessy
2 - Julie Kavner
2 - Larry David
2 - Connie Britton
2 - Chad L. Coleman
2 - Titus Welliver
2 - Dan Castellaneta
2 - Austin Nichols
2 - Kelsey Grammer
2 - Anna Gunn
2 - Rob Lowe
2 - Yeardley Smith
2 - Jeffrey Tambor
2 - Nancy Cartwright
2 - Alexander Siddig
2 - Seth Gilliam
2 - Larry David
2 - Nick Offerman
2 - Maggie Roswell
2 - Yeardley Smith
2 - Adewale Akinnuoye-Agbaje
2 - Jean Smart
2 - Marcia Wallace
2 - Laurie Holden
2 - Robert Clohessy
2 - Alan Dale
2 - Mackenzie Crook
2 - Alan Alda
2 - Lars Mikkelsen
2 - Titus Welliver
2 - Bob Odenkirk
40 changes: 20 additions & 20 deletions modules/series_seasons.txt
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
29 - The Simpsons
27 - Doctor Who
16 - ER
12 - M*A*S*H
12 - Frasier
11 - Columbo
12 - M*A*S*H
11 - The X-Files
11 - Friends
11 - Columbo
10 - 24
10 - Seinfeld
9 - Curb Your Enthusiasm
8 - Game Of Thrones
8 - Buffy The Vampire Slayer
8 - The Shield
8 - Star Trek: Deep Space Nine
8 - Mad Men
8 - The West Wing
8 - 30 Rock
8 - Buffy The Vampire Slayer
8 - Hill Street Blues
8 - Parks And Recreation
8 - 30 Rock
8 - Star Trek: Deep Space Nine
8 - The Walking Dead
8 - Game Of Thrones
8 - The West Wing
8 - Mad Men
8 - Only Fools And Horses
8 - Hill Street Blues
7 - Lost
7 - The Sopranos
7 - Sex And The City
7 - Oz
7 - The Sopranos
7 - Lost
6 - The Twilight Zone
6 - Breaking Bad
6 - Friday Night Lights
6 - The Wire
6 - Breaking Bad
6 - The Twilight Zone
5 - Blackadder
5 - Arrested Development
5 - The Thick Of It
5 - Six Feet Under
5 - Arrested Development
5 - Sherlock
4 - Cracker
4 - Star Trek
4 - The Killing
4 - Twin Peaks
4 - The Killing
4 - Star Trek
4 - Cracker
3 - Fargo
3 - Spaced
3 - Deadwood
3 - Fargo
3 - The Office
3 - Fawlty Towers
2 - The Bridge
3 - The Office
2 - Battlestar Galactica
2 - The Bridge
1 - The Americans
148 changes: 74 additions & 74 deletions modules/series_titles.txt
Original file line number Diff line number Diff line change
@@ -1,92 +1,92 @@
16 - The
3 - And
2 - Star
2 - Of
1 - Breaking
1 - Trek
2 - Star
1 - Space
1 - X-Files
1 - City
1 - ER
1 - M*A*S*H
1 - Deep
1 - Friday
1 - Blackadder
1 - Your
1 - Alan
1 - Trek:
1 - Circus
1 - Peaks
1 - Enthusiasm
1 - Sherlock
1 - Men
1 - Cracker
1 - Twin
1 - Lost
1 - Vampire
1 - Horses
1 - Flying
1 - Fargo
1 - Fools
1 - Monty
1 - Deadwood
1 - Buffy
1 - Friends
1 - Fawlty
1 - Killing
1 - It
1 - Six
1 - Battlestar
1 - Breaking
1 - Partridge
1 - Americans
1 - Parks
1 - Office
1 - Feet
1 - Friday
1 - ER
1 - Towers
1 - Arrested
1 - Thick
1 - Life
1 - 24
1 - Oz
1 - Game
1 - Wing
1 - West
1 - I�m
1 - Wire
1 - 30
1 - Hill
1 - Trek
1 - Seinfeld
1 - It
1 - Slayer
1 - Twilight
1 - Sopranos
1 - Thrones
1 - Python�s
1 - Lights
1 - X-Files
1 - Rock
1 - Battlestar
1 - Simpsons
1 - Friends
1 - Recreation
1 - Game
1 - City
1 - Mad
1 - Bridge
1 - Space
1 - Night
1 - Walking
1 - Spaced
1 - Nine
1 - Streets
1 - Frasier
1 - Fawlty
1 - Columbo
1 - Six
1 - Blues
1 - M*A*S*H
1 - Sopranos
1 - Zone
1 - Peaks
1 - Monty
1 - Deadwood
1 - 30
1 - Buffy
1 - Who
1 - Homicide:
1 - Under
1 - Twilight
1 - Wing
1 - Circus
1 - Shield
1 - Bad
1 - Fargo
1 - Arrested
1 - Zone
1 - Curb
1 - Under
1 - On
1 - Oz
1 - Simpsons
1 - Blues
1 - Thick
1 - Walking
1 - Sex
1 - West
1 - Galactica
1 - Fools
1 - Horses
1 - Vampire
1 - Wire
1 - Frasier
1 - Life
1 - Mad
1 - Towers
1 - Night
1 - Spaced
1 - Parks
1 - Trek:
1 - Office
1 - Feet
1 - Doctor
1 - Only
1 - Americans
1 - Twin
1 - Columbo
1 - Dead
1 - I�m
1 - Rock
1 - Men
1 - 24
1 - Galactica
1 - Lost
1 - Python�s
1 - Sherlock
1 - Homicide:
1 - Street
1 - Only
1 - On
1 - Seinfeld
1 - Bad
1 - Slayer
1 - Deep
1 - Streets
1 - Alan
1 - Lights
1 - Bridge
1 - Cracker
1 - Your
1 - Development
1 - Shield
1 - Hill

0 comments on commit 198f2b6

Please sign in to comment.