官术网_书友最值得收藏!

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:

主站蜘蛛池模板: 望江县| 岳普湖县| 娄底市| 辰溪县| 盐边县| 沂源县| 连南| 阿坝县| 专栏| 珠海市| 库车县| 左云县| 金寨县| 会同县| 蓬安县| 克拉玛依市| 临澧县| 平南县| 洪湖市| 建德市| 凤城市| 锡林浩特市| 会东县| 丁青县| 江油市| 泌阳县| 米林县| 河源市| 桐庐县| 仁布县| 友谊县| 巍山| 柳州市| 秀山| 封丘县| 彩票| 永兴县| 兴文县| 建昌县| 邹平县| 河间市|