1 of 16

What is Python

and why use it?

Winny de Jong @ GIJC 2021

2 of 16

Hi! 👋🏾 This is presentation was originally created by me, Winny de Jong, for my #GIJC21 talk called ‘What is Python & Why use it?’. Before you continue, it’s good to know that some of the links and information are not in/on the slides, but in the speakers notes.

Every Sunday I sent out a data-driven journalism related listicle. Since you’re here for these slides, I think you’ll like this too. It’s free and fun, subscribe here if you’d like: https://ddj.news

One last thing: if you’re about to start learning Python, please be kind to yourself. Whatever you do, simply keep going: trust the process, do the work, stay awesome and get better. Good luck! Best, Winny

3 of 16

Nice to meet you! 👋🏾

  1. About Python
  2. Examples
  3. Now what?

4 of 16

What is Python anyway?

5 of 16

Readability zen

Image by XKCD

6 of 16

Readability zen

Simple is better than complex.

Complex is better than complicated.

7 of 16

Readability zen

Explicit is better than implicit.

Errors should never pass silently.

8 of 16

Data Science

Read more here

9 of 16

Ok. But how about R?

Image + more info here

10 of 16

Python for data driven journalism

  • collect
  • clean
  • analyse
  • visualise

11 of 16

Be smart about it

Millions of rows? Consider SQL

If time is of the essence - isn’t it always? - consider time.

12 of 16

13 of 16

Let’s look at

examples…

Oh and 1 little thing about work environment

14 of 16

15 of 16

16 of 16

Tools I like

Other than Python ;-)