- Learning pandas(Second Edition)
- Michael Heydt
- 66字
- 2021-07-02 20:37:10
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?:

推薦閱讀
- TypeScript入門與實戰(zhàn)
- Computer Vision for the Web
- C# Programming Cookbook
- 實用防銹油配方與制備200例
- 深入淺出Windows API程序設(shè)計:編程基礎(chǔ)篇
- Python自然語言處理(微課版)
- Practical Game Design
- 教孩子學(xué)編程:C++入門圖解
- The Data Visualization Workshop
- Microsoft Azure Storage Essentials
- 一本書講透Java線程:原理與實踐
- Vue.js 2 Web Development Projects
- INSTANT Silverlight 5 Animation
- Clojure for Java Developers
- Learning Python Data Visualization