为什么要学习pandas
numpy能够帮我们处理数值型数据,很多时候,我们的数据除了数值之外,还有字符串,还有时间序列等,numpay能够帮助我们处理数值,但是pandas除了处理数值之外(基于numpy),还能够帮助我们处理其他类型的数据
什么是pandas
pandas is an open source,BSD-licensed library providing high-performance,esay-to-use data structures and data analysis tools for the Python programming language.
pandas的常用数据类型
- Series一维,带标签数组
- DataFrame二维,Series容器