From 648afdb89bc5b590be059e11325c5dd1415e0ea4 Mon Sep 17 00:00:00 2001 From: Philip Date: Mon, 14 Jul 2025 13:25:09 +0200 Subject: [PATCH] Initial src-file which requires some data --- src/T02_PandasIntro.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/T02_PandasIntro.py diff --git a/src/T02_PandasIntro.py b/src/T02_PandasIntro.py new file mode 100644 index 0000000..5856195 --- /dev/null +++ b/src/T02_PandasIntro.py @@ -0,0 +1,18 @@ +import pandas as pd + +cities = {"Stadt": ["London", "Berlin", "Madrid", "Rom", + "Paris", "Wien", "Bukarest", "Hamburg", + "Budapest", "Warsaw", "Barcelona", + "München", "Mailand"], + "Population": [8615246, 3562166, 3165235, 2874038, + 2273305, 1805681, 1803425, 1760433, + 1754000, 1740119, 1602386, 1493900, + 1350680], + "Land": ["England", "Deutschland", "Spanien", "Italien", + "Frankreich", "Österreich", "Romanien", + "Deutschland", "Ungarn", "Polen", "Spanien", + "Deutschland", "Italien"]} + + +areas = [1572, 892, 604, 1285, 105,415, 228, 755, 525, 517, 101, 310, 182] +