phillip.rothenbeck 4 месяцев назад
Родитель
Сommit
13b580f3cd
1 измененных файлов с 323 добавлено и 11 удалено
  1. 323 11
      data.ipynb

+ 323 - 11
data.ipynb

@@ -2,7 +2,7 @@
  "cells": [
   {
    "cell_type": "code",
-   "execution_count": 2,
+   "execution_count": 1,
    "metadata": {},
    "outputs": [],
    "source": [
@@ -10,14 +10,14 @@
     "import numpy as np\n",
     "\n",
     "from src.preprocessing.synthetic_data import SIR, I\n",
-    "from src.preprocessing.transform_data import transform_data\n",
+    "from src.preprocessing.transform_data import transform_data, transform_jh_germany_data, transform_paper_data\n",
     "\n",
     "from src.plotter import Plotter"
    ]
   },
   {
    "cell_type": "code",
-   "execution_count": 3,
+   "execution_count": 2,
    "metadata": {},
    "outputs": [],
    "source": [
@@ -26,7 +26,16 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 4,
+   "execution_count": null,
+   "metadata": {},
+   "outputs": [],
+   "source": [
+    "transform_paper_data()"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": 3,
    "metadata": {},
    "outputs": [],
    "source": [
@@ -50,7 +59,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 5,
+   "execution_count": 4,
    "metadata": {},
    "outputs": [
     {
@@ -81,7 +90,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 6,
+   "execution_count": 5,
    "metadata": {},
    "outputs": [],
    "source": [
@@ -93,7 +102,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 7,
+   "execution_count": 6,
    "metadata": {},
    "outputs": [],
    "source": [
@@ -105,7 +114,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 8,
+   "execution_count": 7,
    "metadata": {},
    "outputs": [
     {
@@ -162,10 +171,313 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
+   "execution_count": 8,
    "metadata": {},
-   "outputs": [],
-   "source": []
+   "outputs": [
+    {
+     "name": "stderr",
+     "output_type": "stream",
+     "text": [
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:48: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  infections[i] = date_df['Confirmed'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:49: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  deaths[i] = date_df['Deaths'].fillna(0).astype(int)\n",
+      "/home/rothenbeck/Covid_19_DINN/src/preprocessing/transform_data.py:50: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n",
+      "  recoveries[i] = date_df['Recovered'].fillna(0).astype(int)\n"
+     ]
+    }
+   ],
+   "source": [
+    "transform_jh_germany_data(plotter, model=\"SIR\")"
+   ]
   }
  ],
  "metadata": {