Dynamic Mapping of the Progression of COVID-19 using Python Programming

  Рет қаралды 23,234

GeoDelta Labs

GeoDelta Labs

Күн бұрын

Пікірлер: 83
@malaymondal9953
@malaymondal9953 4 жыл бұрын
First of all i want to congrats GeoDelta Labs for your sequence of great geospatial video tutorial. Your tutorials are preety much helpful for me. I am looking for day to day new tropic tutorial in near future. Thank you GeoDelta for tutorials.
@geodeltalabs
@geodeltalabs 4 жыл бұрын
Thank you :)
@c.d3304
@c.d3304 4 жыл бұрын
@@geodeltalabs That was an amazing video. I have done the tutorial on a kaggle kernel, but man, it does not work there, here is what it says: fig, ax = plt.subplots(figsize=figsize) /opt/conda/lib/python3.6/site-packages/geopandas/plotting.py:503: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`). And it also shows all the images separetely What should I do to have the same thing you have, but on Kaggle?
@MdMehediHasan-fk5er
@MdMehediHasan-fk5er 4 жыл бұрын
@GeoDelta Labs I'm having same problem as @@c.d3304 faced. Would you please give a look.
@florentinbodjona9265
@florentinbodjona9265 3 жыл бұрын
Great video ! I am currently working on an academic project and your video was extremely helpful to me, thank you very much !
@GeorgeTrialonis
@GeorgeTrialonis 4 жыл бұрын
Hi, there. I have been following a few of your videos and I must say that I find them very interesting. I, too, love maps and map-making but I am just a beginner in all this. Could I ask you the following question, hoping that you could help me? I have the shapefile (plus other files) of a country and want to create a choropleth map on the basis of covid19 infections in two formats (excel and csv). How can I combine one or the other file (excel or csv) with the shapefile to create a choropleth map to show the various levels of infection in the 13 regions of the country? The shapefile has two columns, 'Name_of_Region' and 'geometry'. The excel / csv files have the following columns: 'Name_of_Region', 'Cases', 'Deaths'. The technologies I can use are: Anaconda, Spyder, Atom, Visual Studio and other IDEs. Also, I have created an environment just for geopandas in Anaconda. Thank you.
@geodeltalabs
@geodeltalabs 4 жыл бұрын
Hi, it sounds like you can pretty much use the method explained in this tutorial for your specific case. Since you have the 'Name_of_Region' as a common column, you can do a merge operation to link the pandas dataframe and the geopandas geodataframe into one geodataframe. Did this work for you?
@GeorgeTrialonis
@GeorgeTrialonis 4 жыл бұрын
@@geodeltalabs Thank you for the answer. I used 'join' to merge the shapefile and the csv file, but I get an error: "ValueError: You are trying to merge on object and int64 columns. If you wish to proceed you should use pd.concat". If I interrogate for the columns of both files I get the following: a) for the csv file I get: Index(['PER', 'Cases'], dtype='object'), b) for the shapefile I get: Index(['PER', 'geometry'], dtype='object'). Both files share the 'PER' column which identifies the regions of the country.
@ynandal
@ynandal 4 жыл бұрын
@@GeorgeTrialonis try saving the csv as xls or xslx, the same format as the other file
@ajetunmobijubril2986
@ajetunmobijubril2986 2 жыл бұрын
Great. Thanks for the video. Just a little observation from my end when I try reading my file with the gropandas it keeps telling me attributeError
@batzayamunkhbat9763
@batzayamunkhbat9763 3 жыл бұрын
Thank you so much for creating this great tutorial!
@DileepGuptagoodman
@DileepGuptagoodman 3 жыл бұрын
Very nice video always. I like ur all videos
@geodeltalabs
@geodeltalabs 3 жыл бұрын
Thank you :)
@mandydara6646
@mandydara6646 2 жыл бұрын
thank you so much for the clear explanation f everything you have done :D
@geodeltalabs
@geodeltalabs 2 жыл бұрын
You are welcome ☺️
@samiramuhammad9071
@samiramuhammad9071 2 жыл бұрын
Great video!!! I would like to know a few resources or links where vector data/shapefiles such as the countries' boundary layer can be downloaded. Thanks in advance.
@radax2965
@radax2965 4 жыл бұрын
hey great video!! just a question, i'm on mac, when i open it, it shows only the 1st date and the other picture are on the side (like a power point) (it opens with preview) but when i do a quick look, it works. how can i solve this?
@chdfnh
@chdfnh 4 жыл бұрын
Did you solve it? I have the same problem
@girisakthia1881
@girisakthia1881 4 жыл бұрын
Hey ! Is it possible to label the Countries of the world shape file without using ArcGIS. How to produce a map along with county's label in it ? Kindly Respond !
@negassigebrekidan6743
@negassigebrekidan6743 4 жыл бұрын
Bless you. It is amazing Tutorial.
@dipakdulal1964
@dipakdulal1964 2 жыл бұрын
I did the same for my data in Jupyternote book but the it is run but gif file has not been created. GIF file shows only last image and it is not playes. Could you tell me why? Does IDE matter?
@solomono.a.1062
@solomono.a.1062 3 жыл бұрын
Awesome! Thank you!! Please how can one create a similar animated file using ARCGIS pro using the python generated data?
@vojtechsykora2401
@vojtechsykora2401 2 жыл бұрын
Hi, I am getting -inf as the lowest value in my legend and I cannot change it with the argument 'vmin' do you know how else to change it so that it shows 0 instead of -inf? thanks
@ilabhat931
@ilabhat931 4 жыл бұрын
Hey! Is there any way to add a text giving total confirmed cases of the day on the map itself?
@luisandraschnik3001
@luisandraschnik3001 4 жыл бұрын
Hello, very interesting!. What IDE do you use?
@geodeltalabs
@geodeltalabs 4 жыл бұрын
Spyder IDE
@arjunbakshi810
@arjunbakshi810 4 жыл бұрын
This is such a goooooooood and precise video
@قصتيتحكي
@قصتيتحكي 4 жыл бұрын
Thank you for this great video ,but I got this error can you solve for me ValueError: 'transform' must be an instance of 'matplotlib.transform.Transform'
@ghaninounani7206
@ghaninounani7206 4 жыл бұрын
hey thnx ,great tutorial.pliz how to add data source under the map?
@mgharaforshopping6683
@mgharaforshopping6683 4 жыл бұрын
please while i make a map page in my website how can i add a shapefile to update a data showed on the map ( i use python pased on django framwork ) .... thanks
@abihebbar
@abihebbar 4 жыл бұрын
Hi, I'm getting an error "ValueError: I/O operation on closed file." while I'm using the "save_all" attribute shown in line 81. Can someone help me with this? Thanks in advance!
@Kaemer1000
@Kaemer1000 4 жыл бұрын
Very good tutorial, thanks you very much for a lot of knowledge :)
@geodeltalabs
@geodeltalabs 4 жыл бұрын
Thanks for the feedback
@Kaemer1000
@Kaemer1000 4 жыл бұрын
@@geodeltalabs i watched your 3 videos about GPD, very good job :D
@appliedstatistics2043
@appliedstatistics2043 4 жыл бұрын
This is an awesome tutorial !!
@nirjhorchakraborty1861
@nirjhorchakraborty1861 3 жыл бұрын
Fantastic tutorial!
@loowkit
@loowkit 3 жыл бұрын
Tried and use all those methods given. Same errors as reported by others. Unable to perform this
@proydu
@proydu 4 жыл бұрын
Enjoying ... However, to execute world.plot() I had to install "descartes" module. But you didn't mention it. I am using notebooks.ai
@tuey3891
@tuey3891 4 жыл бұрын
write "pip install descartes" in ur notebook or terminal
@kamalbhandari9705
@kamalbhandari9705 4 жыл бұрын
Great video, very precise, thank you. I would like to know how to make a dynamic, interactive covid-19 choropleth map, in which when a user hovers his mouse over a country, a text-box pops up and gives details about that country, like country name, total number of corona positive cases, cured ones and number of deaths till a particular date. Thank you.
@geodeltalabs
@geodeltalabs 4 жыл бұрын
Hi, you can consider using a bit advanced library for mapping, like Dash/ Plotly, which can generate more advanced interactive type maps.
@akshaysays994
@akshaysays994 4 жыл бұрын
Sir i get 'cmap = OrRd' invalid sir.. Plz tell me.. And if i type world.plot its getting error..
@akshaysays994
@akshaysays994 4 жыл бұрын
The Descartes package is required for plotting polygons in geopandas..?? What shld i do??
@geodeltalabs
@geodeltalabs 4 жыл бұрын
Do a pip install descartes
@mausamrajbanshi3192
@mausamrajbanshi3192 4 жыл бұрын
Great job dude
@wissemchawali
@wissemchawali 4 жыл бұрын
Removing diamond Princess doesn't work for me : data = data[data['Country/Region'] !='Diamond Princess'] alson i have this ImportError: PySAL is required to use the 'scheme' keyword
@geodeltalabs
@geodeltalabs 4 жыл бұрын
Hi, you can try and install pysal. 1. Right click on 'Anaconda Prompt' and open it as administrator 2. type the following: pip install pysal==2.2.0 --user 3. Close and restart Spyder and try to run your script
@wissemchawali
@wissemchawali 4 жыл бұрын
@@geodeltalabs thank you !
@litzk3894
@litzk3894 4 жыл бұрын
How cannu clean the data csv? I still stuck that, give me please what you to do with clean up the csv file
@geodeltalabs
@geodeltalabs 4 жыл бұрын
Clean as in? Do you want to do anything more with the csv data than what has been explained in the tutorial? If yes, maybe you can say precisely what you intend to do, so that we can give you some suggestions
@litzk3894
@litzk3894 4 жыл бұрын
@@geodeltalabs i have data covid with my own self, i have shp area with my own, i want to sincronize my data shp and data covid, but i still stuck how to edit csv file, because when i input csv that i modified, it cant same with your video
@gitanjaliyadav8021
@gitanjaliyadav8021 4 жыл бұрын
sir,graph is not drawn on console...it repetedly says descartes is needed for polygon plzz clear this
@geodeltalabs
@geodeltalabs 4 жыл бұрын
You can do a pip install descartes to install descartes. Should be fairly straightforward
@dr.vikassrivastava9159
@dr.vikassrivastava9159 3 жыл бұрын
pip install descartes then draw map it'll work
@solomono.a.1062
@solomono.a.1062 3 жыл бұрын
@@dr.vikassrivastava9159 Yes, it worked. Thank you.
@abhibanerjee4457
@abhibanerjee4457 4 жыл бұрын
could you please provide a link to download the shape files
@geodeltalabs
@geodeltalabs 4 жыл бұрын
Hi, the link to download the exercise files are in the description.
@madhukark8847
@madhukark8847 4 жыл бұрын
how to fix MemoryError: In RendererAgg: Out of memory.Anyone please help me
@mama-kutty
@mama-kutty 4 жыл бұрын
how to get the shape files
@geodeltalabs
@geodeltalabs 4 жыл бұрын
Hi, you can download the working files from the link in the description, which includes the shapefile of the world as well
@redamerbah2593
@redamerbah2593 4 жыл бұрын
Please how I creat map only of one country and his city 🙏🙏🙏🙏😪😪😪
@geodeltalabs
@geodeltalabs 4 жыл бұрын
Hi, you will need to have the time series data of the cities.. the structure would still be the same, just that your shapefiles and the attributes are different. So the code will have to be amended accordingly.
@redamerbah2593
@redamerbah2593 4 жыл бұрын
@@geodeltalabs please writ the code in bio for the video
@redamerbah2593
@redamerbah2593 4 жыл бұрын
@@geodeltalabs I'm Moroccan student I will realise my end of studies' project 🙏🙏
@favourjoseph1691
@favourjoseph1691 4 жыл бұрын
@@geodeltalabs pls sir i am having problem in installing geopandas library via anaconda prompt..pls i need ya help
@mama-kutty
@mama-kutty 4 жыл бұрын
yar i want shapr file
@arjunbakshi810
@arjunbakshi810 4 жыл бұрын
Could you share the code please?
@geodeltalabs
@geodeltalabs 4 жыл бұрын
Link to download the files and the code is in the description
@arjunbakshi810
@arjunbakshi810 4 жыл бұрын
can your share the replacing names block its tough to type it out?
@arjunbakshi810
@arjunbakshi810 4 жыл бұрын
@@geodeltalabs the other data is available but im unable to locate the code
@geodeltalabs
@geodeltalabs 4 жыл бұрын
@@arjunbakshi810 The script file is located in here: ..\COVID-19-master\csse_covid_19_data\csse_covid_19_time_series\ dynamic_mapping_of_covid_cases.py
COVID Vaccine analysis using pandas in python (Tips Tricks 23)
30:53
НИКИТА ПОДСТАВИЛ ДЖОНИ 😡
01:00
HOOOTDOGS
Рет қаралды 2,8 МЛН
This dad wins Halloween! 🎃💀
01:00
Justin Flom
Рет қаралды 12 МЛН
An Absolute Beginner's Guide to Python GeoPandas
48:42
GeoDelta Labs
Рет қаралды 102 М.
If __name__ == "__main__" for Python Developers
8:47
Python Simplified
Рет қаралды 409 М.
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 721 М.
Should Computers Run the World? - with Hannah Fry
36:05
The Royal Institution
Рет қаралды 525 М.
Why Does Diffusion Work Better than Auto-Regression?
20:18
Algorithmic Simplicity
Рет қаралды 354 М.
How AI 'Understands' Images (CLIP) - Computerphile
18:05
Computerphile
Рет қаралды 207 М.
10 Geoprocessing Applications of GeoPandas Library
51:33
GeoDelta Labs
Рет қаралды 30 М.
How is this Website so fast!?
13:39
Wes Bos
Рет қаралды 511 М.
Coding a Web Server in 25 Lines - Computerphile
17:49
Computerphile
Рет қаралды 340 М.
НИКИТА ПОДСТАВИЛ ДЖОНИ 😡
01:00
HOOOTDOGS
Рет қаралды 2,8 МЛН