Parse parquet.ipynb 133 KB
Newer Older
Eric Duminil's avatar
Eric Duminil committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 14,
   "id": "761e55bc",
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "id": "ccefa7cc",
   "metadata": {},
   "outputs": [],
   "source": [
    "from IPython.display import display"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "id": "c8c647de",
   "metadata": {},
   "outputs": [],
   "source": [
    "df = pd.read_parquet('input/wuerzburg_trees.parquet', engine='fastparquet')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 32,
   "id": "8ce189f0",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>tree_number</th>\n",
       "      <th>species_latin</th>\n",
       "      <th>species_german</th>\n",
       "      <th>latitude</th>\n",
       "      <th>longitude</th>\n",
       "      <th>soil_composition</th>\n",
       "      <th>vol_water_content_30</th>\n",
       "      <th>vol_water_content_100</th>\n",
       "      <th>permittivity_30</th>\n",
       "      <th>permittivity_100</th>\n",
       "      <th>conductivity_30</th>\n",
       "      <th>conductivity_100</th>\n",
       "      <th>usable_field_capacity_30</th>\n",
       "      <th>usable_field_capacity_100</th>\n",
       "      <th>temperature_30</th>\n",
       "      <th>temperature_100</th>\n",
       "      <th>battery_percentage</th>\n",
       "      <th>timestamp</th>\n",
       "      <th>koordinaten</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>23631</td>\n",
       "      <td>Tilia Cordata Greenspire</td>\n",
       "      <td>Stadt-Linde</td>\n",
       "      <td>49.793440</td>\n",
       "      <td>9.940730</td>\n",
       "      <td>Boden Ringpark</td>\n",
       "      <td>37.0</td>\n",
       "      <td>27.0</td>\n",
       "      <td>22.34</td>\n",
       "      <td>15.17</td>\n",
       "      <td>19.3</td>\n",
       "      <td>21.8</td>\n",
       "      <td>117.647059</td>\n",
       "      <td>58.823529</td>\n",
       "      <td>25.06</td>\n",
       "      <td>23.19</td>\n",
       "      <td>59.0</td>\n",
       "      <td>2023-07-12 10:18:26</td>\n",
       "      <td>b'\\x01\\x01\\x00\\x00\\x00o\\xbb\\xd0\\\\\\xa7\\xe1#@K\\x...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>5463.1</td>\n",
       "      <td>Ulmus New Horizon</td>\n",
       "      <td>Ulme New Horizon</td>\n",
       "      <td>49.796000</td>\n",
       "      <td>9.932720</td>\n",
       "      <td>Eigensubstrat Gartenamt</td>\n",
       "      <td>45.0</td>\n",
       "      <td>33.0</td>\n",
       "      <td>30.84</td>\n",
       "      <td>18.86</td>\n",
       "      <td>20.9</td>\n",
       "      <td>0.0</td>\n",
       "      <td>176.190476</td>\n",
       "      <td>119.047619</td>\n",
       "      <td>25.26</td>\n",
       "      <td>25.12</td>\n",
       "      <td>56.0</td>\n",
       "      <td>2023-07-12 10:04:33</td>\n",
       "      <td>b'\\x01\\x01\\x00\\x00\\x00v\\xa6\\xd0y\\x8d\\xdd#@\\xd9...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>58413</td>\n",
       "      <td>Ulmus New Horizon</td>\n",
       "      <td>Ulme New Horizon</td>\n",
       "      <td>49.796580</td>\n",
       "      <td>9.941690</td>\n",
       "      <td>Boden-Sand-Lehm 4</td>\n",
       "      <td>22.0</td>\n",
       "      <td>34.0</td>\n",
       "      <td>11.81</td>\n",
       "      <td>20.14</td>\n",
       "      <td>0.0</td>\n",
       "      <td>19.1</td>\n",
       "      <td>55.555556</td>\n",
       "      <td>122.222222</td>\n",
       "      <td>26.51</td>\n",
       "      <td>24.40</td>\n",
       "      <td>58.0</td>\n",
       "      <td>2023-07-12 10:57:41</td>\n",
       "      <td>b'\\x01\\x01\\x00\\x00\\x00\\xc3\\xf0\\x111%\\xe2#@\\xe7...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>58753</td>\n",
       "      <td>Acer Platanoides</td>\n",
       "      <td>Spitz-Ahorn</td>\n",
       "      <td>49.782000</td>\n",
       "      <td>9.956770</td>\n",
       "      <td>VulkaTree</td>\n",
       "      <td>44.0</td>\n",
       "      <td>31.0</td>\n",
       "      <td>30.32</td>\n",
       "      <td>17.33</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>139.130435</td>\n",
       "      <td>82.608696</td>\n",
       "      <td>24.94</td>\n",
       "      <td>19.20</td>\n",
       "      <td>59.0</td>\n",
       "      <td>2023-07-12 10:47:32</td>\n",
       "      <td>b'\\x01\\x01\\x00\\x00\\x00}\\x96\\xe7\\xc1\\xdd\\xe9#@j...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>5540</td>\n",
       "      <td>Tilia Cordata Greenspire</td>\n",
       "      <td>Stadt-Linde</td>\n",
       "      <td>49.793180</td>\n",
       "      <td>9.933190</td>\n",
       "      <td>Boden-Sand-Lehm 4</td>\n",
       "      <td>35.0</td>\n",
       "      <td>36.0</td>\n",
       "      <td>20.65</td>\n",
       "      <td>21.61</td>\n",
       "      <td>19.2</td>\n",
       "      <td>0.0</td>\n",
       "      <td>127.777778</td>\n",
       "      <td>133.333333</td>\n",
       "      <td>23.13</td>\n",
       "      <td>19.85</td>\n",
       "      <td>60.0</td>\n",
       "      <td>2023-07-12 10:06:59</td>\n",
       "      <td>b'\\x01\\x01\\x00\\x00\\x00\\x92\\xe8e\\x14\\xcb\\xdd#@\\...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>158720</th>\n",
       "      <td>05_Ersatz_3_7023.2</td>\n",
       "      <td>Unbekannt</td>\n",
       "      <td>Unbekannt</td>\n",
       "      <td>49.791642</td>\n",
       "      <td>9.935594</td>\n",
       "      <td>VulkaTree</td>\n",
       "      <td>59.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>53.11</td>\n",
       "      <td>NaN</td>\n",
       "      <td>38.1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>137.837838</td>\n",
       "      <td>NaN</td>\n",
       "      <td>24.10</td>\n",
       "      <td>NaN</td>\n",
       "      <td>57.0</td>\n",
       "      <td>2024-07-22 10:23:46</td>\n",
       "      <td>b'\\x01\\x01\\x00\\x00\\x00\\x96j*&lt;\\x06\\xdf#@.\\xd3\\x...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>158721</th>\n",
       "      <td>5463.1</td>\n",
       "      <td>Ulmus New Horizon</td>\n",
       "      <td>Ulme New Horizon</td>\n",
       "      <td>49.796000</td>\n",
       "      <td>9.932720</td>\n",
       "      <td>Eigensubstrat Gartenamt</td>\n",
       "      <td>36.0</td>\n",
       "      <td>33.0</td>\n",
       "      <td>22.05</td>\n",
       "      <td>19.29</td>\n",
       "      <td>19.5</td>\n",
       "      <td>0.0</td>\n",
       "      <td>90.322581</td>\n",
       "      <td>80.645161</td>\n",
       "      <td>23.42</td>\n",
       "      <td>21.82</td>\n",
       "      <td>29.0</td>\n",
       "      <td>2024-07-22 11:25:45</td>\n",
       "      <td>b'\\x01\\x01\\x00\\x00\\x00v\\xa6\\xd0y\\x8d\\xdd#@\\xd9...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>158722</th>\n",
       "      <td>05_Ersatz_3_7023.2</td>\n",
       "      <td>Unbekannt</td>\n",
       "      <td>Unbekannt</td>\n",
       "      <td>49.791642</td>\n",
       "      <td>9.935594</td>\n",
       "      <td>VulkaTree</td>\n",
       "      <td>59.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>53.06</td>\n",
       "      <td>NaN</td>\n",
       "      <td>38.2</td>\n",
       "      <td>NaN</td>\n",
       "      <td>137.837838</td>\n",
       "      <td>NaN</td>\n",
       "      <td>24.10</td>\n",
       "      <td>NaN</td>\n",
       "      <td>57.0</td>\n",
       "      <td>2024-07-22 11:24:16</td>\n",
       "      <td>b'\\x01\\x01\\x00\\x00\\x00\\x96j*&lt;\\x06\\xdf#@.\\xd3\\x...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>158723</th>\n",
       "      <td>Gartenamt_Kontroll_2</td>\n",
       "      <td>Unbekannt</td>\n",
       "      <td>Unbekannt</td>\n",
       "      <td>49.797012</td>\n",
       "      <td>10.001281</td>\n",
       "      <td>Eigensubstrat Gartenamt</td>\n",
       "      <td>0.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.00</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>-25.806452</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.00</td>\n",
       "      <td>NaN</td>\n",
       "      <td>77.0</td>\n",
       "      <td>2024-07-22 11:35:41</td>\n",
       "      <td>b'\\x01\\x01\\x00\\x00\\x00\\x01\\x00\\x00\\xf8\\xa7\\x00...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>158724</th>\n",
       "      <td>65851</td>\n",
       "      <td>Fraxinus Angustifolia Raywood</td>\n",
       "      <td>Esche Raywood</td>\n",
       "      <td>49.791200</td>\n",
       "      <td>9.927240</td>\n",
       "      <td>VulkaTree</td>\n",
       "      <td>49.0</td>\n",
       "      <td>37.0</td>\n",
       "      <td>37.43</td>\n",
       "      <td>22.84</td>\n",
       "      <td>0.0</td>\n",
       "      <td>19.8</td>\n",
       "      <td>110.810811</td>\n",
       "      <td>78.378378</td>\n",
       "      <td>25.76</td>\n",
       "      <td>21.08</td>\n",
       "      <td>31.0</td>\n",
       "      <td>2024-07-22 11:35:44</td>\n",
       "      <td>b'\\x01\\x01\\x00\\x00\\x00\\t\\x16\\x873\\xbf\\xda#@0L\\...</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>158725 rows × 19 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                 tree_number                  species_latin    species_german  \\\n",
       "0                      23631       Tilia Cordata Greenspire       Stadt-Linde   \n",
       "1                     5463.1              Ulmus New Horizon  Ulme New Horizon   \n",
       "2                      58413              Ulmus New Horizon  Ulme New Horizon   \n",
       "3                      58753               Acer Platanoides       Spitz-Ahorn   \n",
       "4                       5540       Tilia Cordata Greenspire       Stadt-Linde   \n",
       "...                      ...                            ...               ...   \n",
       "158720    05_Ersatz_3_7023.2                      Unbekannt         Unbekannt   \n",
       "158721                5463.1              Ulmus New Horizon  Ulme New Horizon   \n",
       "158722    05_Ersatz_3_7023.2                      Unbekannt         Unbekannt   \n",
       "158723  Gartenamt_Kontroll_2                      Unbekannt         Unbekannt   \n",
       "158724                 65851  Fraxinus Angustifolia Raywood     Esche Raywood   \n",
       "\n",
       "         latitude  longitude         soil_composition  vol_water_content_30  \\\n",
       "0       49.793440   9.940730           Boden Ringpark                  37.0   \n",
       "1       49.796000   9.932720  Eigensubstrat Gartenamt                  45.0   \n",
       "2       49.796580   9.941690        Boden-Sand-Lehm 4                  22.0   \n",
       "3       49.782000   9.956770                VulkaTree                  44.0   \n",
       "4       49.793180   9.933190        Boden-Sand-Lehm 4                  35.0   \n",
       "...           ...        ...                      ...                   ...   \n",
       "158720  49.791642   9.935594                VulkaTree                  59.0   \n",
       "158721  49.796000   9.932720  Eigensubstrat Gartenamt                  36.0   \n",
       "158722  49.791642   9.935594                VulkaTree                  59.0   \n",
       "158723  49.797012  10.001281  Eigensubstrat Gartenamt                   0.0   \n",
       "158724  49.791200   9.927240                VulkaTree                  49.0   \n",
       "\n",
       "        vol_water_content_100  permittivity_30  permittivity_100  \\\n",
       "0                        27.0            22.34             15.17   \n",
       "1                        33.0            30.84             18.86   \n",
       "2                        34.0            11.81             20.14   \n",
       "3                        31.0            30.32             17.33   \n",
       "4                        36.0            20.65             21.61   \n",
       "...                       ...              ...               ...   \n",
       "158720                    NaN            53.11               NaN   \n",
       "158721                   33.0            22.05             19.29   \n",
       "158722                    NaN            53.06               NaN   \n",
       "158723                    NaN             0.00               NaN   \n",
       "158724                   37.0            37.43             22.84   \n",
       "\n",
       "        conductivity_30  conductivity_100  usable_field_capacity_30  \\\n",
       "0                  19.3              21.8                117.647059   \n",
       "1                  20.9               0.0                176.190476   \n",
       "2                   0.0              19.1                 55.555556   \n",
       "3                   0.0               0.0                139.130435   \n",
       "4                  19.2               0.0                127.777778   \n",
       "...                 ...               ...                       ...   \n",
       "158720             38.1               NaN                137.837838   \n",
       "158721             19.5               0.0                 90.322581   \n",
       "158722             38.2               NaN                137.837838   \n",
       "158723              0.0               NaN                -25.806452   \n",
       "158724              0.0              19.8                110.810811   \n",
       "\n",
       "        usable_field_capacity_100  temperature_30  temperature_100  \\\n",
       "0                       58.823529           25.06            23.19   \n",
       "1                      119.047619           25.26            25.12   \n",
       "2                      122.222222           26.51            24.40   \n",
       "3                       82.608696           24.94            19.20   \n",
       "4                      133.333333           23.13            19.85   \n",
       "...                           ...             ...              ...   \n",
       "158720                        NaN           24.10              NaN   \n",
       "158721                  80.645161           23.42            21.82   \n",
       "158722                        NaN           24.10              NaN   \n",
       "158723                        NaN            0.00              NaN   \n",
       "158724                  78.378378           25.76            21.08   \n",
       "\n",
       "        battery_percentage           timestamp  \\\n",
       "0                     59.0 2023-07-12 10:18:26   \n",
       "1                     56.0 2023-07-12 10:04:33   \n",
       "2                     58.0 2023-07-12 10:57:41   \n",
       "3                     59.0 2023-07-12 10:47:32   \n",
       "4                     60.0 2023-07-12 10:06:59   \n",
       "...                    ...                 ...   \n",
       "158720                57.0 2024-07-22 10:23:46   \n",
       "158721                29.0 2024-07-22 11:25:45   \n",
       "158722                57.0 2024-07-22 11:24:16   \n",
       "158723                77.0 2024-07-22 11:35:41   \n",
       "158724                31.0 2024-07-22 11:35:44   \n",
       "\n",
       "                                              koordinaten  \n",
       "0       b'\\x01\\x01\\x00\\x00\\x00o\\xbb\\xd0\\\\\\xa7\\xe1#@K\\x...  \n",
       "1       b'\\x01\\x01\\x00\\x00\\x00v\\xa6\\xd0y\\x8d\\xdd#@\\xd9...  \n",
       "2       b'\\x01\\x01\\x00\\x00\\x00\\xc3\\xf0\\x111%\\xe2#@\\xe7...  \n",
       "3       b'\\x01\\x01\\x00\\x00\\x00}\\x96\\xe7\\xc1\\xdd\\xe9#@j...  \n",
       "4       b'\\x01\\x01\\x00\\x00\\x00\\x92\\xe8e\\x14\\xcb\\xdd#@\\...  \n",
       "...                                                   ...  \n",
       "158720  b'\\x01\\x01\\x00\\x00\\x00\\x96j*<\\x06\\xdf#@.\\xd3\\x...  \n",
       "158721  b'\\x01\\x01\\x00\\x00\\x00v\\xa6\\xd0y\\x8d\\xdd#@\\xd9...  \n",
       "158722  b'\\x01\\x01\\x00\\x00\\x00\\x96j*<\\x06\\xdf#@.\\xd3\\x...  \n",
       "158723  b'\\x01\\x01\\x00\\x00\\x00\\x01\\x00\\x00\\xf8\\xa7\\x00...  \n",
       "158724  b'\\x01\\x01\\x00\\x00\\x00\\t\\x16\\x873\\xbf\\xda#@0L\\...  \n",
       "\n",
       "[158725 rows x 19 columns]"
      ]
     },
     "execution_count": 32,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 33,
   "id": "57133341",
   "metadata": {},
   "outputs": [],
   "source": [
    "interesting_columns = ['tree_number', 'species_latin', 'latitude', 'longitude']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 34,
   "id": "4850e91c",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>tree_number</th>\n",
       "      <th>species_latin</th>\n",
       "      <th>latitude</th>\n",
       "      <th>longitude</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>58753</td>\n",
       "      <td>Acer Platanoides</td>\n",
       "      <td>49.782000</td>\n",
       "      <td>9.956770</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>425</th>\n",
       "      <td>06_Ersatz_01_58753</td>\n",
       "      <td>Acer Platanoides</td>\n",
       "      <td>49.781994</td>\n",
       "      <td>9.959306</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10702</th>\n",
       "      <td>06_Ersatz_01_58753</td>\n",
       "      <td>Acer Platanoides</td>\n",
       "      <td>49.781994</td>\n",
       "      <td>9.959306</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "              tree_number     species_latin   latitude  longitude\n",
       "3                   58753  Acer Platanoides  49.782000   9.956770\n",
       "425    06_Ersatz_01_58753  Acer Platanoides  49.781994   9.959306\n",
       "10702  06_Ersatz_01_58753  Acer Platanoides  49.781994   9.959306"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>tree_number</th>\n",
       "      <th>species_latin</th>\n",
       "      <th>latitude</th>\n",
       "      <th>longitude</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>65851</td>\n",
       "      <td>Fraxinus Angustifolia Raywood</td>\n",
       "      <td>49.7912</td>\n",
       "      <td>9.92724</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  tree_number                  species_latin  latitude  longitude\n",
       "7       65851  Fraxinus Angustifolia Raywood   49.7912    9.92724"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>tree_number</th>\n",
       "      <th>species_latin</th>\n",
       "      <th>latitude</th>\n",
       "      <th>longitude</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>28816</th>\n",
       "      <td>54838</td>\n",
       "      <td>Fraxinus Ornus</td>\n",
       "      <td>49.77794</td>\n",
       "      <td>9.93879</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "      tree_number   species_latin  latitude  longitude\n",
       "28816       54838  Fraxinus Ornus  49.77794    9.93879"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>tree_number</th>\n",
       "      <th>species_latin</th>\n",
       "      <th>latitude</th>\n",
       "      <th>longitude</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>11925</th>\n",
       "      <td>8971.1</td>\n",
       "      <td>Gleditsia Triacanthos Inermis</td>\n",
       "      <td>49.79037</td>\n",
       "      <td>9.92953</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "      tree_number                  species_latin  latitude  longitude\n",
       "11925      8971.1  Gleditsia Triacanthos Inermis  49.79037    9.92953"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>tree_number</th>\n",
       "      <th>species_latin</th>\n",
       "      <th>latitude</th>\n",
       "      <th>longitude</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>36312</td>\n",
       "      <td>Robinia Pseudoacacia</td>\n",
       "      <td>49.7913</td>\n",
       "      <td>9.96101</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  tree_number         species_latin  latitude  longitude\n",
       "9       36312  Robinia Pseudoacacia   49.7913    9.96101"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>tree_number</th>\n",
       "      <th>species_latin</th>\n",
       "      <th>latitude</th>\n",
       "      <th>longitude</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>54976</td>\n",
       "      <td>Sophora Japonica</td>\n",
       "      <td>49.78955</td>\n",
       "      <td>9.93318</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  tree_number     species_latin  latitude  longitude\n",
       "5       54976  Sophora Japonica  49.78955    9.93318"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>tree_number</th>\n",
       "      <th>species_latin</th>\n",
       "      <th>latitude</th>\n",
       "      <th>longitude</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>23631</td>\n",
       "      <td>Tilia Cordata Greenspire</td>\n",
       "      <td>49.79344</td>\n",
       "      <td>9.94073</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>5540</td>\n",
       "      <td>Tilia Cordata Greenspire</td>\n",
       "      <td>49.79318</td>\n",
       "      <td>9.93319</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  tree_number             species_latin  latitude  longitude\n",
       "0       23631  Tilia Cordata Greenspire  49.79344    9.94073\n",
       "4        5540  Tilia Cordata Greenspire  49.79318    9.93319"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>tree_number</th>\n",
       "      <th>species_latin</th>\n",
       "      <th>latitude</th>\n",
       "      <th>longitude</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>58762</td>\n",
       "      <td>Tilia Tomentosa Brabant</td>\n",
       "      <td>49.78558</td>\n",
       "      <td>9.959380</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>424</th>\n",
       "      <td>01_Ersatz_2_58762</td>\n",
       "      <td>Tilia Tomentosa Brabant</td>\n",
       "      <td>49.78550</td>\n",
       "      <td>9.959306</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10455</th>\n",
       "      <td>01_Ersatz_2_58762</td>\n",
       "      <td>Tilia Tomentosa Brabant</td>\n",
       "      <td>49.78550</td>\n",
       "      <td>9.959306</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "             tree_number            species_latin  latitude  longitude\n",
       "30                 58762  Tilia Tomentosa Brabant  49.78558   9.959380\n",
       "424    01_Ersatz_2_58762  Tilia Tomentosa Brabant  49.78550   9.959306\n",
       "10455  01_Ersatz_2_58762  Tilia Tomentosa Brabant  49.78550   9.959306"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>tree_number</th>\n",
       "      <th>species_latin</th>\n",
       "      <th>latitude</th>\n",
       "      <th>longitude</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>5445</td>\n",
       "      <td>Tilia Vulgaris Pallida</td>\n",
       "      <td>49.79619</td>\n",
       "      <td>9.93103</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9075</th>\n",
       "      <td>42374</td>\n",
       "      <td>Tilia Vulgaris Pallida</td>\n",
       "      <td>49.79761</td>\n",
       "      <td>9.93270</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "     tree_number           species_latin  latitude  longitude\n",
       "8           5445  Tilia Vulgaris Pallida  49.79619    9.93103\n",
       "9075       42374  Tilia Vulgaris Pallida  49.79761    9.93270"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>tree_number</th>\n",
       "      <th>species_latin</th>\n",
       "      <th>latitude</th>\n",
       "      <th>longitude</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>5463.1</td>\n",
       "      <td>Ulmus New Horizon</td>\n",
       "      <td>49.79600</td>\n",
       "      <td>9.93272</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>58413</td>\n",
       "      <td>Ulmus New Horizon</td>\n",
       "      <td>49.79658</td>\n",
       "      <td>9.94169</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  tree_number      species_latin  latitude  longitude\n",
       "1      5463.1  Ulmus New Horizon  49.79600    9.93272\n",
       "2       58413  Ulmus New Horizon  49.79658    9.94169"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>tree_number</th>\n",
       "      <th>species_latin</th>\n",
       "      <th>latitude</th>\n",
       "      <th>longitude</th>\n",
       "    </tr>\n",
For faster browsing, not all history is shown. View entire blame