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

Specifying an index at creation

The labels in an index can be specified at the creation of the Series by using the index parameter of the constructor. The following creates a Series and assigns strings to each label of the index:

Examining the .index property, we find the following index was created:

Using this index, we can ask a question such as who is the Dad?:

主站蜘蛛池模板: 潞城市| 临朐县| 吕梁市| 信阳市| 长治县| 银川市| 潼关县| 滁州市| 景东| 洪江市| 鸡西市| 丰宁| 井研县| 龙泉市| 天峻县| 远安县| 都兰县| 甘肃省| 永康市| 汉阴县| 盘锦市| 平武县| 佛冈县| 海兴县| 夏邑县| 德庆县| 镇原县| 阳城县| 太谷县| 鄂伦春自治旗| 西充县| 博罗县| 建平县| 乌海市| 榆林市| 定兴县| 和政县| 阳春市| 东乌珠穆沁旗| 东城区| 普安县|