Commits


Wes McKinney authored and Krisztián Szűcs committed 2a54de9b4e7
ARROW-7596: [Python] Only permit zero-copy DataFrame block construction when split_blocks=True We found that some code in the wild assumed that the arrays inside the DataFrame resulting from `to_pandas` are always writable, i.e. the result of new memory being allocated. So we only apply the zero copy optimizations for the split blocks case (which presumably will be used by memory-conscious users who will be okay with this) Closes #6250 from wesm/ARROW-7596 and squashes the following commits: bd0b69050 <Wes McKinney> Only permit zero-copy DataFrame block construction when split_blocks=True Authored-by: Wes McKinney <wesm+git@apache.org> Signed-off-by: Krisztián Szűcs <szucs.krisztian@gmail.com>