Explicitly explained!!! Sir, can you please advise what to write at the below line of code, if i have all geo-coordinates of one courty (i.e. India)? I tried the below code but it's not working somehow. axis = world_data[world_data.continent=='india']
Sir, I have a csv file with latitude, longitude and rain category which is of low rain, moderate rain and heavy rain. I want to plot it in the base map of India with 3 different colors. So, do I need only to adjust the variable names according to my dataset and change the region to which I want to plot?
at 8:44: what if we wanted each city in a different color? for example, if the dataframe had a column with city population, and we wanted to have cities with bigger populations in a darker color, and cities with less population in brighter color? thanks, great video
I've not tried it myself but in more standard matplotlib plots you can add another column which has the color for each row and pass that entire column into the color argument.
im not getting the desired image, like the points are plotted at one corner and the country image is plotted on other corner, how can i solve this and get them into position, someone please help me.
hey I found out that it's related to your python environment. if you are using jupyter notebook, you could try the code "pip list". it will list all installed packages. if geopandas is not installed in this environment, just get it. I bet it will sort your issue.
hello. you can try typing "pip install matplot lib" in your command line. also installing pandas will usually come with the matplot lib library installed
Your explanations are very useful.
Glad you think so!
This video really helped me in my MSc project thanks. That windows key and R shortcut for the path is soooooo useful. Keep up the good work Thanks
I am super glad it was useful!
Explicitly explained!!!
Sir, can you please advise what to write at the below line of code, if i have all geo-coordinates of one courty (i.e. India)? I tried the below code but it's not working somehow.
axis = world_data[world_data.continent=='india']
Great video
thanks man!
Thank you for a great presentation
Thank you, your explanation was complete but straightforward c:
Glad it helped!
Sir, I have a csv file with latitude, longitude and rain category which is of low rain, moderate rain and heavy rain. I want to plot it in the base map of India with 3 different colors. So, do I need only to adjust the variable names according to my dataset and change the region to which I want to plot?
This was really well summed up, thanks
ur welcome
at 8:44: what if we wanted each city in a different color? for example, if the dataframe had a column with city population, and we wanted to have cities with bigger populations in a darker color, and cities with less population in brighter color? thanks, great video
I've not tried it myself but in more standard matplotlib plots you can add another column which has the color for each row and pass that entire column into the color argument.
Can we draw a line connecting those dots?
yes we can. the lines can even have color, thickness etc
Can this be applied too on google colab
Does this work on pycharm, with the modules installed ?? I am having trouble with this on pycharm right now
how would I set the continent to display a map of the United Kingdom? (UK)
you could use a list to manually load the longitudes and latitudes. or use the country code in the api
Hi! I could not find the csv file. where is it? Thanks!
Hey !! awesome video!! thanks a lot bro !! I am just wondering is there any way for us to change the map projection of the final choropleth map?
hello tom. sorry this is coming very late. yes you can change the projection to "orthographic" etc using plotly
Instead of country map can it be applied to states map and local government area maps?
sure. it can. all you need are filters to point to your data
Hi, thank you for this intersting vedeo. Where can I find a geojson file for morocco including sahara? Thank a lot for your help
hello Nadia. you can google search for free geojson files. there are quite free to get.
thank uuu!
ur welcome
im not getting the desired image, like the points are plotted at one corner and the country image is plotted on other corner, how can i solve this and get them into position, someone please help me.
Thanks!
No problem!
Is there a way to contact you
Thank you
You're welcome
I tried to import geopandas but I couldn't, and this error has appeared
ModuleNotFoundError: No module named 'geopandas'
lol my error is no module named "plotly"
hey I found out that it's related to your python environment. if you are using jupyter notebook, you could try the code "pip list". it will list all installed packages. if geopandas is not installed in this environment, just get it. I bet it will sort your issue.
@@t0mmy-Sun I’ll try this! Thanks for help
I could not isntall geopandas.
ModuleNotFoundError: No module named 'matplotlib.pylplot'
What should I do to fix this?
hello. you can try typing "pip install matplot lib" in your command line. also installing pandas will usually come with the matplot lib library installed
Thanks I fixed.