Q->difference between list and numpy?
4 differences plz atleast....
Answers
Answered by
4
Answer:
All arrays generated by NumPy basic slicing are always views of the original array, while slices of lists are shallow copies. You can assign a scalar into a Numpy slice. You can insert and delete items in a list by assigning a sequence of different length to a slice, whereas NumPy would raise an error.
Similar questions