Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!

Timeline for answer to How to make a copy of a 2D array in Python? by Ryan Ye

Current License: CC BY-SA 3.0

Post Revisions

2 events
when toggle format what by license comment
Dec 26, 2013 at 21:02 comment added Eugene Yarmash +1 for the list comprehension version. It works fine for a 2d array and is way faster that deepcopy(x).
Jun 30, 2011 at 9:59 history answered Ryan Ye CC BY-SA 3.0