python pandas learning notes

Pandas is suitable for data analysis. Its function is similar to excel, but the former is easy to reproduce. To use pandas, first import the library. import pandas data structure sequence Series is a one-dimensional array that can contain any data type. Each array has an index label. establish The Series() function can create a seque ...

Added by Simsonite on Sun, 19 Dec 2021 23:39:19 +0200

Essence, the 12 major Pandas common configuration skills, you may not understand.

Hello, in the process of using Pandas, in addition to data, we deal more with tables. In order to better display a table data, there must be good settings in the early stage. This article introduces the common configuration skills of Pandas, mainly based on options and settings. Welcome to collect and learn, like praise and support. Note: tec ...

Added by desenhistas on Sat, 18 Dec 2021 08:22:00 +0200

Hands on data analysis: 2 (medium) data reconstruction

2.4 data consolidation 2.4. 1 load all the data in the data folder and observe the relationship between them compared with the previous original data text_left_up = pd.read_csv("data/train-left-up.csv") text_left_down = pd.read_csv("data/train-left-down.csv") text_right_up = pd.read_csv("data/train-right-up.csv") text_right_down = pd.read_csv ...

Added by shams on Fri, 17 Dec 2021 21:44:39 +0200

Data analysis notes

Data analysis 1. to_datetime() errors: {ignore ',' raise ',' coerce '}, the default is' raise' If "raise", an invalid resolution throws an exceptionIf it is "coerce", set invalid resolution to NaTIf it is "ignore", invalid parsing will return input 2. isnull() The program returns a Boolean value. If it is a mi ...

Added by Rich464 on Fri, 17 Dec 2021 12:27:25 +0200

pandas introduction notes

  Introduction to DataFrame of Pandas Pandas is an open source Python library for data analysis, which can realize data loading, cleaning, conversion, statistical processing, visualization and other functions DataFrame and Series are the two most basic data structures of Pandas DataFrame is used to process structured data (SQL data table, ...

Added by tarado on Fri, 17 Dec 2021 07:32:58 +0200

Fat theory film - the battle of two cities

original intention Someone might ask? Why should I do this as a programmer? There are a lot of movie video commentary on the Internet. Do I have to come to see you? Let me answer the question. In this column, I want to try to combine technology with life. While learning technology, you also gain happiness. After reading this article, you f ...

Added by wilzy1 on Fri, 17 Dec 2021 03:46:39 +0200

Python learning -- the basic principle of principal component analysis (PCA) and its Python implementation

I. Basic Concept of dimensionality reduction For the high-dimensional data in the actual analysis process, data dimensionality reduction processing is required before specific data analysis and feature modeling. Dimensionality reduction refers to selecting K (k < n) from the N features of the original data for data representation by some ...

Added by aneesme on Tue, 14 Dec 2021 21:59:39 +0200

streamlit rapid deployment SCADA data analysis

By establishing a web app for SCADA data analysis, this paper briefly introduces the use and deployment of streamlit. See the code in the text for details GitHub: https://github.com/SooHooLee/test Project web app See: https://share.streamlit.io/soohoolee/test/data_analysis.py 1. What is Streamlit Streamlit: an application development fram ...

Added by gazza52 on Tue, 14 Dec 2021 05:05:42 +0200

Recently 'classmate Zhang' is so popular in Dy that I can't help analyzing his dy comment data in Python. I believe I can get angry one day

Recently, Jo Chang Zhang suddenly caught fire, and about ten million tiktok in two months. In today's article, I grabbed the comment data of classmate Zhang's video and wanted to dig out the points of interest to classmate Zhang from the perspective of text analysis. Classmate Zhang started sending videos on October 4, and the number of likes ...

Added by ahundiak on Tue, 14 Dec 2021 02:06:13 +0200

Stupid? What happens when Pandas encounters a very large data set?

Hello everyone, it's a new week. We usually use the Pandas module to further analyze and mine the key information of the data set, but when we encounter a particularly large data set, the memory will explode. Today I'll share some tips to help you avoid the situation mentioned above. Note: technical exchange group is provided at the end of the ...

Added by michaellunsford on Mon, 13 Dec 2021 09:37:55 +0200