Commit 40a9ac7b authored by boulanlo's avatar boulanlo

Fixed error in data inspection

parent c3765f98
......@@ -131,24 +131,20 @@ data = try_download_data()
#+End_src
#+RESULTS:
: Python 3.8.6 (default, Sep 30 2020, 04:00:38)
: [GCC 10.2.0] on linux
: Type "help", "copyright", "credits" or "license" for more information.
: >>> python.el: native completion setup loaded
Let's print the first five lines for the last two dates.
#+Begin_src python :session :results value :exports results
[[x for x in y[:5] + y[-2:]] for y in data[:1]] + [None] + [[x for x in y[:5] + y[-2:]] for y in data[1:5]]
[[x for x in y[:4] + y[-2:]] for y in data[:1]] + [None] + [[x for x in y[:4] + y[-2:]] for y in data[1:5]]
#+End_src
#+RESULTS:
| Province/State | Country/Region | Lat | Long | 1/22/20 | 12/14/20 | 12/15/20 |
|----------------+----------------+----------+-----------+---------+----------+----------|
| | Afghanistan | 33.93911 | 67.709953 | 0 | 48718 | 48952 |
| | Albania | 41.1533 | 20.1683 | 0 | 49191 | 50000 |
| | Algeria | 28.0339 | 1.6596 | 0 | 92597 | 93065 |
| | Andorra | 42.5063 | 1.5218 | 0 | 7382 | 7382 |
| Province/State | Country/Region | Lat | Long | 12/14/20 | 12/15/20 |
|----------------+----------------+----------+-----------+----------+----------|
| | Afghanistan | 33.93911 | 67.709953 | 48718 | 48952 |
| | Albania | 41.1533 | 20.1683 | 49191 | 50000 |
| | Algeria | 28.0339 | 1.6596 | 92597 | 93065 |
| | Andorra | 42.5063 | 1.5218 | 7382 | 7382 |
** Checking for missing data
The data is generated automatically, but it's never too prudent to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment