- Learning pandas(Second Edition)
- Michael Heydt
- 75字
- 2021-07-02 20:37:10
The size and shape of a Series
The number of items in a Series object can be determined by several techniques, the first of which is by using the Python len() function:

The same result can be obtained by using the .size property:
An alternate form for getting the size of a Series is to use the .shape property. This returns a two-value tuple, but with only the first value specified and representing the size:

推薦閱讀
- Python程序設(shè)計教程(第2版)
- 編程卓越之道(卷3):軟件工程化
- 深入淺出Windows API程序設(shè)計:編程基礎(chǔ)篇
- Groovy for Domain:specific Languages(Second Edition)
- C語言程序設(shè)計案例式教程
- Getting Started with Gulp
- Visual Basic程序設(shè)計實驗指導(dǎo)(第二版)
- Learning YARN
- Mastering C++ Multithreading
- ASP.NET Web API Security Essentials
- 深入淺出Python數(shù)據(jù)分析
- Ext JS 4 Plugin and Extension Development
- Mastering R for Quantitative Finance
- Learning IBM Bluemix
- Implementing OpenShift