Timeline for answer to How to make a copy of a 2D array in Python? by Анатолий Панин
Current License: CC BY-SA 3.0
Post Revisions
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 12, 2023 at 8:04 | comment | added | Linus Fernandes | distance = list(map(lambda i: list(map(lambda j: j, i)), graph)). I've also seen this.... | |
| Dec 19, 2017 at 18:23 | history | edited | Анатолий Панин | CC BY-SA 3.0 |
add code for python 3
|
| Jun 6, 2017 at 16:26 | comment | added | Fran Marzoa | I think you need to "cast" that, like new_array = list(map(list, old_array)) | |
| Jan 20, 2014 at 18:30 | history | answered | Анатолий Панин | CC BY-SA 3.0 |