Current 2023 AI Trends and Possible Future Trends in the Next Upcoming Months

Over the past decade, artificial intelligence (AI) has profoundly impacted society and industries, revolutionizing various aspects of our lives. AI influence is ubiquitous and undeniable, from…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Descriptive Statistics in Python

A descriptive statistic summarizes the central tendency (mean, median, mode), spread of the data (range, standard deviation, and variance), the shape of the data, and frequency of the data. The purpose is to find an insight of the characteristics data in a meaningful way without inferring anything about them.

This following function calculates descriptive statistics for numerical data :

And this following function is descriptive statistics for categorical data (e.g. strings) :

Researchpy returns less overall information compared to the pandas method, but it does return more in-depth information regarding the mean.

This following function is descriptive statistics for numerical data :

And this following function is descriptive statistics for categorical data (e.g. strings) :

Add a comment

Related posts:

Maret 2010

Festival kesenian diselenggarakan oleh pihak kampus. Jake yang notabenenya sudah menjadi salah satu bagian ukm musik pun ikut serta mengisi kegiatan tersebut. Dia menjadi vokalis utama di bandnya…