The new macbooks with M1 Apple Silicon chips are fast and have superior battery life. However, setting up a development environment on these new models that relies on Pandas can be a pain. After going through Github issues and Stack Overflow pages, I hope this article can save time for those who would like to use Pipenv and Pandas on their M1 laptops.
Activate pipenv shell on the project folder (mine is called “pipenv-project”)
The following commands are executed inside the…
The novel coronavirus (COVID-19) pandemic situation continues to evolve worldwide. Thanks to Johns Hopkins CSSE, we now have access to these data and we can use it to build analysis and dashboards. We will use the daily reports data.
In this tutorial, we will build a simple visualization to display the impact of COVID-19 in each country as shown below. We will use Python and Plotly Dash. Dash is a Python framework that makes it simple to build interactive data visualization web apps.
The final code can be found here: https://github.com/megahf/covid19-dash/blob/master/choropleth.py
You need to have Python 3 and pip…