So could you please tell me, why are the index of the Series, the second reference nothing? Is not the default label index to use?
import pandas as pd
A=pd. Series (range (10, 20), the index=range (20, 30))
Print (a, a, [but], a. oc [them], sep='\ n -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- \ n')
CodePudding user response:
So to understand:A [], Anderson, loc [], digital expression of position is
A. oc [], the digital expression is the label