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 .
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 .
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 .
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 .
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 :
pandas Is based on numpy Module built . It is also the most convenient module for data processing .pandas The main function of :
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 .
There are also several modules commonly used in data processing , The following figure summarizes the basic knowledge points .
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