[Tutor] What is the Copy Parameter in the Pandas Series Method For

YAW ANTWI-ADJEI yawantwiadjei at gmail.com
Tue May 26 13:41:47 EDT 2020


I would like to know what difference the copy parameter in the Pandas
Series() Method makes in the creation of a Series?
For example:
[image: image.png]
I cannot see any difference between TestSeries1 and TestSeries2. In fact, I
checked the *id* and they have different *id *as shown below:
*>>> id(TestSeries1)*
135039368
>>>
*>>> id(TestSeries2)*
63220056

So what actually does the copy argument do?

Yaw


More information about the Tutor mailing list