Y
Hacker News
new
|
ask
|
show
|
jobs
by
happy-go-lucky
3071 days ago
You could try np.isscalar() and np.array().ndim in NumPy.