Pandas tutorial | detailed explanation of the usage of Groupby

In daily data analysis, it is often necessary to divide the data into different groups according to a certain (multiple) field for analysis. For example, in the field of e-commerce, the total sales of the country are divided according to provinces, and the changes of sales in provinces are analyzed. In the field of social networking, users are ...

Added by anish on Tue, 26 Oct 2021 04:14:45 +0300

Python game development, pygame module, Hamilton ring algorithm to automatically play Snake games

preface After a month, let's try to play a wave of Snake games automatically with the help of Hamilton ring. Let's start happily~ development tool **Python version: * * 3.6.4 Related modules: pygame module; And some python built-in modules. Environment construction Install Python and add it to the environment variable. pip can install t ...

Added by daok on Thu, 21 Oct 2021 09:58:37 +0300

Machine learning sklearn ---- first knowledge of KMeans

summary KMeans is an unsupervised learning method. He is a classification algorithm. It is used to explore the original data and classify the samples with the same attributes in the original data. This article only talks about the simple use of KMeans. For the content about the evaluation results, see my next article. Several concepts in ...

Added by leafface on Sat, 16 Oct 2021 08:32:10 +0300

Graduation project - weather data analysis

1 Preface Hi, everyone, this is senior student Dan Cheng. Today I'd like to introduce a project to you Emotional analysis of film review based on GRU You can use it for graduation design Bi design help, problem opening guidance, technical solutions 🇶746876041 2 project introduction This example will analyze and visualize the meteorol ...

Added by BK87 on Fri, 08 Oct 2021 13:08:16 +0300

Day 28 | learn PyQt5, QTreeWidget of advanced control

The tree structure is implemented through QTreeWidget and qtreewidgettitem classes, in which qtreewidgettitem class implements the addition of nodes. QTreeWidget is a hierarchical nested structure. The outer and inner layers of a tree structure have similar structures. It is often used to represent a data structure with one upper layer and mult ...

Added by fangfang on Mon, 04 Oct 2021 23:22:54 +0300

Day 25 | day 28 learn PyQt5, QTableWidget of advanced controls

The table control also has a QTableWidget, which inherits from QTableView. The main difference between QTableWidget and QTableView is that QTableView can use custom data model to display content, while QTableWidget can only use standard data model, and its cell data is realized through qtablewidgettitem object. In general, using QTableWidget ca ...

Added by dbrown on Mon, 04 Oct 2021 05:57:34 +0300

Meet artifact! cufflinks: a beautiful Python Visualization Toolkit!

Welcome to focus on Python, data analysis, data mining and fun tools! In recent years, Python visualization libraries have emerged one after another. From Matplotlib to pyechards, data visualization is also widely used, which can be almost applied to various fields such as natural science, engineering technology, finance, communication and c ...

Added by jeankaleb on Fri, 24 Sep 2021 11:35:46 +0300

❤️ 20000 words, summarizing 50 pandas high-frequency operations [illustrated and worthy of collection] ❤️

Point, knock on the blackboard First of all, this paper follows the traditional teaching, point to point! Only some functions or processing methods that are frequently used by individuals are introduced.The examples in this article are only used for demonstration. Generally, the examples do not modify the original data. If the code will modif ...

Added by Daukan on Tue, 21 Sep 2021 14:21:22 +0300

Zero basis introduction financial risk control - loan default prediction - machine learning - Data Analysis

Zero basis entry financial risk control - loan default forecast 1, Competition data The task of the competition is to predict whether users default on their loans. The data set can be seen and downloaded after registration. The data comes from the loan records of A credit platform. The total amount of data exceeds 120w, including 47 columns o ...

Added by MrPotatoes on Sun, 19 Sep 2021 00:56:38 +0300

Outlier processing in python data analysis practice

1. Outlier definition In statistics, outliers are data points that do not belong to a specific population, and are abnormal observations far away from other values. Outliers are observations different from other well structured data. For example, you can clearly see the outliers in this list: [20,24,22,19,29,184300,30,18] It is easy to i ...

Added by c815902 on Sat, 18 Sep 2021 21:11:59 +0300