Categories
numpy pandas python

Force Return of “View” rather than copy in Pandas?

When selecting data from a Pandas dataframe, sometimes a view is returned and sometimes a copy is returned.
While there is a logic behind this, is there a way to force Pandas to explicitly return a view or a copy?