Slicing of pandas series object

in numpy if slicing is done and it is assigned to new variable it is only shallow copy not deep copy, is it true for pandas series object also or it will be a deep copy

Thank you

Yep.It is true for pandas series object also

2 Likes