程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Learn pandas golden partner - illustrated pandas

編輯:Python

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 .

01 Published content

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 :

Graphic link Corresponding video Number 《 The illustration Pandas》 Introduction to content framework - Image & Text 01- Data structure introduction 001 Image & Text 02- Create data objects 002 Image & Text 03- Read and store Excel file 003、004 Image & Text 04- Common data access 005 Image & Text 05- Common data operations 006、007、008 Image & Text 06- Common mathematical calculations 009、010 Image & Text 07- Common statistics 011、012、013、014、015

02 Part of the content introduces

Data structure introduction

DataFrame ( Chinese translation “ Data frame ”) Introduce :

Schematic data frame axis direction :

DataFrame And Series Relationship between :

Create a data frame from a list

Read Excel file

from Excel When reading data , Sometimes you need to skip the data line at the end of the data file :

Data frame row column transpose

adopt df.T The row column transposition of the data frame can be realized :

Index position and index value

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 :

Data migration :shift

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 :

03 Topic summary

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 .


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved