Answers for "python is instance numpy arrya"

0

python is instance numpy arrya

import numpy as np
a = np.ones((1,4)) # Random array
print(isinstance(a, np.ndarray))
>>> True
Posted by: Guest on July-21-2021

Python Answers by Framework

Browse Popular Code Answers by Language