- 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:

推薦閱讀
- 零起步玩轉掌控板與Mind+
- 少年輕松趣編程:用Scratch創(chuàng)作自己的小游戲
- 體驗設計原理:行為、情感和細節(jié)
- Animate CC二維動畫設計與制作(微課版)
- 64位匯編語言的編程藝術
- Java虛擬機字節(jié)碼:從入門到實戰(zhàn)
- 零基礎輕松學SQL Server 2016
- Extending Unity with Editor Scripting
- Xamarin Blueprints
- App Inventor少兒趣味編程動手做
- Android應用開發(fā)實戰(zhàn)(第2版)
- 交互式程序設計(第2版)
- PostgreSQL Developer's Guide
- Microsoft Exchange Server 2016 PowerShell Cookbook(Fourth Edition)
- 少兒編程輕松學(全2冊)