Using the data we extracted from the wikipedia page in http://dbtuna.co.uk/using-beautifulsoup-to-extract-data-from-wikipedia/ we can quickly work out a whole bunch of stats about Premiership managers over the years.

Which Premiership Club has had the most managers?

df.groupby(["Club"]).size()

Arsenal                     9
Aston Villa                19
Barnsley                    1
Birmingham City             3
Blackburn Rovers           10
Blackpool                   1
Bolton Wanderers            7
Bournemouth                 1
Bradford City               4
Brighton & Hove Albion      2
Burnley                     3
Cardiff City                4
Charlton Athletic           4
Chelsea                    22
Coventry City               4
Crystal Palace             18
Derby County                6
Everton                    16
Fulham                     13
Huddersfield Town           3
Hull City                   5
Ipswich Town                4
Leeds United                6
Leicester City             15
Liverpool                  10
Manchester City            13
Manchester United           6
Middlesbrough               7
Newcastle United           23
Norwich City                8
Nottingham Forest           6
Oldham Athletic             1
Portsmouth                  9
Queens Park Rangers         8
Reading                     3
Sheffield United            3
Sheffield Wednesday         6
Southampton                20
Stoke City                  4
Sunderland                 14
Swansea City               10
Swindon Town                1
Tottenham Hotspur          22
Watford                     9
West Bromwich Albion       16
West Ham United            15
Wigan Athletic              5
Wimbledon                   3
Wolverhampton Wanderers     4

Newcastle has had the most managers with 23! Although many were caretaker managers, and some have had the job more than once e.g. John Carver, Nigel Pearson and Chris Hughton. The longest serving manager for Newcastle in the premiership was Bobby Robson (duration 1824 days), followed by Kevin Keegan (1799 days) and Alan Pardew (1484 days).

Which nationality has had the most Premiership managers?

df.groupby(["Country"]).size()

Argentina                4
Austria                  1
Brazil                   1
Chile                    2
Croatia                  2
Denmark                  1
England                208
France                  10
Germany                  4
Israel                   3
Italy                   16
Jamaica                  1
Netherlands             12
Northern Ireland        14
Norway                   3
Portugal                11
Republic of Ireland     14
Scotland                58
Serbia                   1
Spain                   14
Sweden                   3
Switzerland              1
United States            2
Uruguay                  1
Wales                   19

Despite many foreign managers, the home countries of England, Scotland, Wales and Northern Ireland account for the most Premiership managers.

Who is the longest serving current Premiership manager?

df.loc[df['Status'] == "present"].sort_values(by=['Duration'], ascending=False)
NameStatusCountryClubFromUntilDurationYears in League
Eddie HowepresentEnglandBournemouth12-Oct-12Present*26512015–
Sean DychepresentEnglandBurnley30-Oct-12Present*26332014–2015 2016–
Jürgen KlopppresentGermanyLiverpool08-Oct-15Present*15602015–
Chris WilderpresentEnglandSheffield United12-May-16Present*13432019–
Pep GuardiolapresentSpainManchester City01-Jul-16Present*12932016–
Daniel FarkepresentGermanyNorwich City25-May-17Present*9652019–
Nuno Espírito SantopresentPortugalWolverhampton Wanderers31-May-17Present*9592018–
Roy HodgsonpresentEnglandCrystal Palace12-Sep-17Present*8552017–
Dean SmithpresentEnglandAston Villa10-Oct-18Present*4622019–
Ralph HasenhüttlpresentAustriaSouthampton06-Dec-18Present*4052018–
Ole Gunnar SolskjærpresentNorwayManchester United19 December 2018[N 5]Present*3922018–
Brendan RodgerspresentNorthern IrelandLeicester City27-Feb-19Present*3222019–
Graham PotterpresentEnglandBrighton & Hove Albion20-May-19Present*2402019–
Frank LampardpresentEnglandChelsea04-Jul-19Present*1952019–
Steve BrucepresentEnglandNewcastle United17-Jul-19Present*1822019–
José MourinhopresentPortugalTottenham Hotspur20-Nov-19Present*562019–
Nigel PearsonpresentEnglandWatford08-Dec-19Present*382019–
Carlo AncelottipresentItalyEverton22-Dec-19Present*242019–
Mikel ArtetapresentSpainArsenal22-Dec-19Present*242019–
David MoyespresentScotlandWest Ham United29-Dec-19Present*172019–

Who has managed the most premiership clubs?

df.groupby(["Name"])["Club"].nunique().sort_values(ascending=False)
Name
Sam Allardyce            7
Mark Hughes              6
Harry Redknapp           5
Alan Pardew              5
Roy Hodgson              5
Steve Bruce              5
Graeme Souness           4
David Moyes              4
Neil Warnock             4
Ron Atkinson             4
Chris Hughton            4
José Mourinho            3
George Graham            3
Joe Royle                3
Brendan Rodgers          3
Rafael Benítez           3
Kenny Dalglish           3
Peter Reid               3
Claudio Ranieri          3
Paul Lambert             3
Paul Jewell              3
Dave Bassett             3
Nigel Pearson            3
Martin O'Neill           3
Avram Grant              3
Marco Silva              3
Glenn Hoddle             3
Iain Dowie               3
Tony Pulis               3
Steve Coppell            2
Kevin MacDonald          2
Steve Clarke             2
Claude Puel              2
Terry Venables           2
Tim Sherwood             2
Colin Todd               2
Danny Wilson             2
Kevin Keegan             2
Howard Wilkinson         2
Owen Coyle               2
Dave Jones               2
Ole Gunnar Solskjær      2
Nigel Adkins             2
Alan Curbishley          2
Alex McLeish             2
Alan Ball                2
Mike Walker              2
David O'Leary            2
David Pleat              2
Micky Adams              2
Mick McCarthy            2
Eric Black               2
Michael Appleton         2
Mauricio Pochettino      2
Graham Taylor            2
Martin Jol               2
Chris Hutchings          2
Ian Holloway             2
Brian Kidd               2
Brian Little             2
Steve McClaren           2
Gerry Francis            2
Joe Kinnear              2
Glenn Roeder             2
André Villas-Boas        2
John Deehan              2
Stuart Gray              2
Ruud Gullit              2
Gary Megson              2
John Gregory             2
Gordon Strachan          2
Ronald Koeman            2
Stuart Pearce            2
Roberto Martínez         2
Gérard Houllier          2
Roberto Di Matteo        2
Manuel Pellegrini        2
Bryan Robson             2
Ray Wilkins              2
Ray Lewington            2
Carlo Ancelotti          2

Sam Allardyce has managed the most teams in the Premier League, having taken charge of seven different clubs: Bolton Wanderers, Newcastle United, Blackburn Rovers, West Ham United, Sunderland, Crystal Palace and Everton.

Categories: pandaspython

0 Comments

Leave a Reply