chipbk10 / AI

0 stars 0 forks source link

Python #3

Open chipbk10 opened 8 months ago

chipbk10 commented 8 months ago

Source

chipbk10 commented 7 months ago

Numpy

# [0, 1, 2, 3, 4, 5]
a = np.arange(6)

# [ [0], [1], [2], [3], [4], [5] ]
b = a.reshape(-1, 1)

# 6
b.shape