pandas yes python One of the most powerful tools for data mining and data analysis , Support is similar to SQL The increase of database , Delete , check , change , And with a wealth of data processing functions , Support the analysis function of time series , Support flexible handling of missing data .pandas The basic data structure is Series and DataFrame,series It's sequence , Similar to a one-dimensional array ,dataframe It's equivalent to a two-dimensional table , Similar to a two-dimensional array , Each of its columns is equivalent to one series, For positioning series Elements in ,pandas Provided index object , each series There will be a corresponding index, Used to mark different elements ,index The content of is not necessarily a number , It can also be letters , Chinese, etc , be similar to SQL Primary key of , allied ,dataframe Equivalent to having more than one of the same index Of series The combination of ( It's essentially series Container for ), each series All have a unique header , Used to identify different series.

import pandas as pd s = pd.Series([1, 2, 3], index=['a', 'b', 'c']) d =
pd.DataFrame([[1, 2, 3], [4, 5, 6]], columns=['a', 'b', 'c']) d2 =
pd.DataFrame(s) d.head() d.describe() print(d) print(d2)
#pd.read_excel('data.xls') #pd.read_csv('data.csv', encoding='utf-8')

©2019-2020 Toolsou All rights reserved,
Non preemptive static priority scheduling algorithm for operating system (C language )Go Language learning notes (GUI programming )XCTF Attack and defense world web Advanced practice _ 2_lottery What's the difference between computer major and training background ?python realization vlookup_ Dry goods I : Why python It's inside vlookup Bubble sort primary springboot2 Separation of front and rear platforms ,token Put in header Pit for verification Python Case conversion of letters ( Two methods )javascript event ( Detailed explanation of zero basis )Unity2019 UIElement note ( ten ) Simple exercise 2