You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jbrockmendel with the contextmanager, are you thinking doing a comparison after the apply call to see if the objects involved changed? Is there a way to avoid a copy here?
with the contextmanager, are you thinking doing a comparison after the apply call to see if the objects involved changed?
I am thinking of setting the array.flags.writeable to False for any ndarrays contained inside the DataFrame. We'd need to implement something analogous for ExtensionArrays.
Activity
jbrockmendel commentedon Dec 1, 2019
agreed this is a footgun. brainstorming how to implement:
rhshadrach commentedon Jun 24, 2020
@jbrockmendel with the contextmanager, are you thinking doing a comparison after the apply call to see if the objects involved changed? Is there a way to avoid a copy here?
jbrockmendel commentedon Jun 24, 2020
I am thinking of setting the
array.flags.writeable
to False for any ndarrays contained inside the DataFrame. We'd need to implement something analogous for ExtensionArrays.12 remaining items