Hi I'm still new to pandas method and I just to have a better understanding about the pd.Series
ser = pd.Series(data=[100,"200",300,"400",500],index=["tom","bob","nancy","dan","eric"])
I found out when ever I want to extract a value using the index of it for example
ser["nancy"]
the output will be
300
but if i use nested list
ser[["nancy"]]
I will get
nancy 300
I know it's maybe a simple thing but I just want to know the reason behind that to have a better understanding and if there is any resource you would recommend I would highly appreciate it
Thanks