Hello everyone , I'm brother Yang .
Many students mentioned to me , See if you can come up with a series of Pandas A tutorial on data processing , I haven't had time to do it before .
For everyone to be vivid 、 Image learning Pandas, Brother Yang is making a series of 《 The illustration Pandas》 The content of , At present, it has been on wechat video Number 「Python The way of data 」 Release 16 Video , At the same time, in the official account 「Python The way of data 」 Supporting release 7 Text content ( Supporting source code in graphics and text and in PC Video viewed on the end ).
《 The illustration Pandas》 Mainly with dynamic pictures 、 Video and other ways to explain Pandas Basic knowledge of , It is convenient for everyone to master these knowledge quickly , Believe in 《 The illustration Pandas》 It will bring you different perspectives .
《 The illustration Pandas》 The video content of is generally as follows :
Scan the qr code below , Follow the video Number , Can watch 《 The illustration Pandas》 All videos released and the latest videos pushed in time :
《 The illustration Pandas》 series , It's not a small project , It is expected that there will be more than 100 A video , Now it's a futures , Maybe it's a unfinished project , Your support is the driving force I continue to share , Hey ~~
《 The illustration Pandas》 Series of published graphic links and corresponding video numbers , The summary is as follows :
DataFrame ( Chinese translation “ Data frame ”) Introduce :
Schematic data frame axis direction :
DataFrame And Series Relationship between :
from Excel When reading data , Sometimes you need to skip the data line at the end of the data file :
adopt df.T
The row column transposition of the data frame can be realized :
How to get Series The index position and index value corresponding to the minimum or maximum value in .
adopt argmin()
Function to get the index position corresponding to the minimum value , As indicated by the red mark , The result is a number 1
, as follows :
adopt idxmin()
Function to get the index value corresponding to the minimum value , As indicated by the red mark , The result is a letter e
, as follows :
By default ,shift()
Function axis=0
, Move the data frame along the 0 Axis direction
Offset one position down , give the result as follows :
The detailed implementation process is dynamically demonstrated as follows :
in consideration of 《 The illustration Pandas》 The contents of the series are constantly updated , You can find the latest released content through the following topics .
At the same time, consider , If there are more articles in the future ( For example, over 50 An article ), It may not be easy to quickly find the required content in the topic , I will be in the form of article summary , take 《 The illustration Pandas》 Manually summarize the articles in this series , And form The illustration Pandas Summary
Topics , The latest summary article , You can click on the topic below , Just find the latest article .
Study Pandas, The hardest thing is persistence , hope 《 The illustration Pandas》 It can bring you some fun , Come on !
After reading, please click on the bottom right corner “ Looking at ” , Is the greatest encouragement and support .
List of articles Preface Tit
Python Basic grammar summary