+ - 0:00:00
Notes for current slide
Notes for next slide

Mini Pandas Project

[email protected]

Data Science: Techniques and Applications (DSTA)

January 29th, 2020

1 / 4

At-home exercise: data mash-up

  • Learn how to combine data from different sources

  • use geo-referencing to connect values

  • The Python Pandas module offers plenty of functionalites and parameters...

2 / 4

Source 1: UK Electoral Distance Dataset

  • UK electoral distance dataset is a csv file with distances between two UK electoral districts.

  • The csv file could be loaded into pandas Dataframe object.

  • From Dataframe object a distance matrix could be created.


Source 2: EU Referendum Results 2016

  • It is a dataset with votes for each electoral districts.

  • Please use the same procedure for loading this dataset as described.

3 / 4

Problem definition

  • Visualize the dataset using Pandas plotting functions.

  • implement gravity distance ``delta'' from Economics

  • Find out district borders which has the steepest gravity distance.

Notation

4 / 4

Mini Pandas Project

[email protected]

Data Science: Techniques and Applications (DSTA)

January 29th, 2020

1 / 4

At-home exercise: data mash-up

  • Learn how to combine data from different sources

  • use geo-referencing to connect values

  • The Python Pandas module offers plenty of functionalites and parameters...

2 / 4

Source 1: UK Electoral Distance Dataset

  • UK electoral distance dataset is a csv file with distances between two UK electoral districts.

  • The csv file could be loaded into pandas Dataframe object.

  • From Dataframe object a distance matrix could be created.


Source 2: EU Referendum Results 2016

  • It is a dataset with votes for each electoral districts.

  • Please use the same procedure for loading this dataset as described.

3 / 4

Problem definition

  • Visualize the dataset using Pandas plotting functions.

  • implement gravity distance ``delta'' from Economics

  • Find out district borders which has the steepest gravity distance.

Notation

4 / 4

At-home exercise: data mash-up

  • Learn how to combine data from different sources

  • use geo-referencing to connect values

  • The Python Pandas module offers plenty of functionalites and parameters...

2 / 4
Paused

Help

Keyboard shortcuts

, , Pg Up, k Go to previous slide
, , Pg Dn, Space, j Go to next slide
Home Go to first slide
End Go to last slide
Number + Return Go to specific slide
b / m / f Toggle blackout / mirrored / fullscreen mode
c Clone slideshow
p Toggle presenter mode
t Restart the presentation timer
?, h Toggle this help
Esc Back to slideshow
+ -
Notes for current slide
Notes for next slide
Paused

Help

Keyboard shortcuts

, , Pg Up, k Go to previous slide
, , Pg Dn, Space, j Go to next slide
Home Go to first slide
End Go to last slide
Number + Return Go to specific slide
b / m / f Toggle blackout / mirrored / fullscreen mode
c Clone slideshow
p Toggle presenter mode
t Restart the presentation timer
?, h Toggle this help
Esc Back to slideshow