Pattern Classification For COVID-19 Growth Data

On 2nd Feb, I launched a web dashboard for tracking the spread of recent coronavirus (COVID-19) outbreak, which provides a real-time view of global confirmed, recovered, and death cases. It so far has attracted more than 17,000 active users and was shared almost 3,500 times on social media. I am really glad that I could contribute my skillsets for helping people in this global emergency and especially want to thank

Everything You Need To Know About Correlation

Correlation is one of the most fundamental statistical concepts used in almost any sectors. For example, as in portfolio management, correlation is often used to measure the amount of diversification among the assets contained in a portfolio. Choosing assets with low or negative correlation with each other can help to reduce the risk of a portfolio. In addition, correlations give insights about marketing strategies and business outcomes in marketing research, which further help marketers make actionable decisions, and ultimately, grow businesses.

Ten Tricks To Speed Up Your Python Codes

Python is slow. I bet you might encounter this counterargument many times about using Python, especially from people who come from C or C++ or Java world. This is true in many cases, for instance, looping over or sorting Python arrays, lists, or dictionaries can be sometimes slow. After all, Python is developed to make programming fun and easy. Thus, the improvements of Python code in succinctness and readability have to come with a cost of performance.

An Overview Of Importing Data In Python

The prerequisite for doing any data-related operations in Python, such as data cleansing, data aggregation, data transformation, and data visualisation, is to load data into Python. Depends on the types of data files (e.g. .csv, .txt, .tsv, .html, .json, Excel spreadsheets, relational databases etc.) and their size, different methods should be applied to deal with this initial operation accordingly. In this post, I will list some common methods for importing data in Python.

Elevate Your Dashboard Interactivity In Dash

Last week, I shared with you how to make a dashboard to track the spread of coronavirus using Dash in python, from which you can have a real-time overview of the numbers of global coronavirus cases, including confirmed, recovered and deaths cases, and their distribution on a world map. As for the first version, we implemented basic dash functions and obtained a static application interface. In other words, except for the native interactions offered by plotly (e.

Build A Dashboard To Track The Spread of Coronavirus Using Dash

Last month, I published four posts to share with you my experience in using matplotlib. Benefit from its full control of elements on a given graph, matplotlib is deemed as a fundamental python library for data visualisation and used by many other libraries (e.g. seaborn and pandas) as plotting module. This is also why I think learning matplotlib is an essential part for being a practitioner in data science, which helps to build up in-depth understanding about logic behind data visualisation tools.

Create An Infographic Using Matplotlib

From my previous posts about the hierarchical structure of matplotlib plotting and the many ways to instantiate axes, we can see that these features render matplotlib a great potential for creating highly complex and customisable visualisations. To demonstrate this and also improve my own understanding of matplotlib, I set out to make an infographic using matplotlib this week. An infographic generally combines visual imagery, data charts, and minimal text together.

The Many Ways To Call Axes In Matplotlib

Although matplotlib is extremely powerful and the only limitation might be our imagination, it is a bit challenging for new users to find the right path as there are always more than one way to achieve the same goal in matplotlib. Calling axes is one of them. Let’s say you just decide to make plots using object-oriented interface (aka artist layer plotting) in matplotlib. However, I bet you will be soon running into problems when trying to instantiate axes to start your plotting.

How To Visualise Sydney’s Temperature Change from 1859 to 2019 Using Matplotlib

I believe one of the main current events you have read about must be the Australian Bushfire Crisis. The devastating disaster has affected more than 10 million hectares of land, which is compatible to the land area of Portugal, and an estimated 1 billion wild mammals, birds and reptiles have been killed (Source here). Increasing evidence has shown the links between climate change/global warming and this year’s bushfire, such as extreme temperature (1., or, That Is The Question In Matplotlib

As a newbie converted recently from using R to Python, data visualisation via the standard Python visualisation library matplotlib is an inevitable part through the learning process. At the very beginning, after following several easy-to-find matplotlib tutorials, I had an impression that “en, it’s not as hard as I thought”. After import matplotlib.pyplot as plt, I can basically plot everything by calling…) (e.g. plt.plot(…), plt.scatter(…),…), plt.xlabel(…), plt.ylabel(…), plt.