I want to remove the whole numpy array. For instance, if I make array A like
A = np.zeros((2,3))
I want to remove the whole array A and want to reuse the name 'A' in other purpose.
Are there any codes (functions) to delete the array?
I want to remove the whole array A
del A
want to reuse the name 'A' in other purpose.
A = whateverElse # associate A with whateverElse, so simple :o)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With