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

[where is the way for the brick movers to attack?]---- Python learning summary

編輯:Python

Active address : Graduation season · The technique of attack er

It's hot in summer , Another graduation season in the heat wave , This is farewell , It's also growth . Despite the impact of the epidemic in the past two years , Most graduates have no previous graduation ceremony , But growth continues . Think about your graduation ceremony , It's been five years .
Because I majored in electronics in University , So my first job after graduation is to go to a related company , Work is also leisure , What you have learned is of little use , For two and a half years , Finally I made up my mind to leave , Come out and find that you seem to have fallen behind , There's no way , Can only start over , The chance coincided python Learning from , Now engaged in data analysis . The following is a summary python The outline of learning .

1、Python Basic knowledge of

Learning any language , First of all, we have to understand its foundation ,python Learning is no exception . So we first understand python Data types and different types of operations .

1. data type

The most important thing for each type is to find out whether it is changeable , What are the characteristics of each , such as : Sets are not repeated , Therefore, the list conversion set can be implemented to remove duplication .

2. Common data type operations

Strings and lists
Strings are very similar to lists , The slices of both are the same , The difference lies in the different methods , So it is very important to find out the corresponding methods .

Dictionaries and functions 、 class
Dictionaries and lists are commonly used , The functions that can be realized are similar , The difference is that lists are less efficient when there is too much data , But dictionaries don't , But dictionaries take up a lot of memory , Building is also more complex than lists .
If you want to Python A great god , Class must master . Although there are no classes , The corresponding design can also be realized , But classes can simplify code and improve efficiency .

2、 Common modules

1. OS modular

os The module is python A module in the standard library for accessing operating system functions , os Modules provide other operating system interfaces , Can achieve cross platform access . And our study mainly focuses on the processing of directories and file paths . The knowledge points are shown in the figure below :

2. pandas modular

pandas Is based on numpy Module built . It is also the most convenient module for data processing .pandas The main function of :

  • Data structure with functions DataFrame、Series
  • Integrated time series function
  • Provides a wealth of mathematical operations and operations
  • Flexible handling of missing data

First pandas The structure is as follows :

pandas You can load multiple types of data , Include excel、csv、sql、html、json etc. , That is to say, the basic common data types ,pandas Can be obtained and processed .

There is a load , There is preservation , Corresponding to the above loading , There is a corresponding output , But here are only the three most commonly used , And its parameters and characteristics .

3. Other common modules

There are also several modules commonly used in data processing , The following figure summarizes the basic knowledge points .

3、 Expanding knowledge

The previous Introduction , It's all based on python The data processing has been carried out , It's also python The basis of the introduction of ,python There are many branches , such as : Reptile Branch 、BI Branch 、 Website Branch 、 Artificial intelligence branch, etc , Later learning needs to choose the direction to further study , Either way , If you keep learning, you will gain a lot .
About each module , I only give the basic learning website here , About deep , Readers need to break through themselves !

Growth continues , Don't ask for a day to smell , Just make a little progress every day , One day all the good things will happen by chance .
The road is always at your feet , We need to come out slowly !

Active address : Graduation season · The technique of attack er


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