Coding skills here for learning
@CodingPythonSql
5
subscribers
266
photos
3
files
10
links
Download Telegram
Join
Coding skills here for learning
5 subscribers
Coding skills here for learning
a += 2
Coding skills here for learning
a ** 2
Coding skills here for learning
np.sin(a)
np.cos(a)
Coding skills here for learning
a = np.ones((2,3))
b = np.full((3,2), 2)
np.matmul(a, b)
Coding skills here for learning
np.sum(array)
Coding skills here for learning
after = before.reshape((8,1))
Coding skills here for learning
np.vstack([array1, array2])
Coding skills here for learning
Coding skills here for learning
np.vstack([array1, array2])
vertically stacking
Coding skills here for learning
np.hstack([array1, array2])
Coding skills here for learning
np.genfromtxt('datapath.txt', delimiter = ',')
Coding skills here for learning
Coding skills here for learning
np.genfromtxt('datapath.txt', delimiter = ',')
loading data
Coding skills here for learning
astype('int32')
Coding skills here for learning
arrayname[arrayname > number] boolean masking
Coding skills here for learning
np.any[arrayname > number] boolean masking
Coding skills here for learning
filedata[((filedata > 50) & (filedata < 100))]
Coding skills here for learning
Coding skills here for learning
Coding skills here for learning
pinned «
matplotlib
»
Coding skills here for learning
Coding skills here for learning
Coding skills here for learning
df['date'] = pd.to_datetime(df.date) changin the column for datetime column
if it is timestamp
Coding skills here for learning