Why use pandas.DataFrame.copy() for column extraction
<p>I've recently seen this kind of code:</p>

<pre><code>import pandas as pd
data = pd.read_csv('/path/to/some/data.csv')
colX = data['colX'].copy()
data.drop(labels=['colX'], inplace=True, axis=1)
</code></pre>

<p>I know that, to make an explicit copy of an object, I need <code>copy()</code>, but in this case, when extracting and subsequent deletion of a colum, is there a good reason to use <code>copy()</code>?</p>