PDEP-7: Consistent copy/view semantics in pandas with Copy-on-Write by jorisvandenbossche · Pull Request #51463 · pandas-dev/pandas (original) (raw)

This PR adds the google doc about the Copy-on-Write proposal that came out of the discussion in #36195 as a PDEP.
It predates the PDEPs, but bascially back then I wrote what would now be a PDEP, and since this is still actively being developed, I think it would be useful to have an "official" reference to the proposal, instead of pointing to my google doc.

The first commit is just a basic conversion of the google doc to the markdown. I will do a first follow-up commit updating some outdated parts (eg referencing the POC implementation).

I am fine with still getting review of the text / details here, or we can also take it as it is.

And then the question is also how to mark the status of the PDEP. Can we assume it is already accepted / under implementation? (it went through the somewhat vague pre-PDEP decision process of some kind of consensus / nobody loudly objecting anymore, and it's now available and documented as opt-in). But am also happy to let it pass through the PDEP process of approving this officially.

cc @pandas-dev/pandas-core @pandas-dev/pandas-triage