H Colaboratory


Download 56.3 Kb.
Pdf ko'rish
Sana02.04.2023
Hajmi56.3 Kb.
#1320178
Bog'liq
h - Colaboratory



13.03.2023, 17:20
h - Colaboratory
https://colab.research.google.com/drive/1te9_VrtdNW-UUlp3mL12d__WWHAf8SeN#printMode=true
1/1
Платные продукты Colab 

Отменить подписку
import numpy as np
arr=np.arange(10)
arr
array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])
np.save('array',arr)
arr2=np.load('array.npy')
arr2
array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])
np.savetxt('names',arr)
dav=np.arange(10,100,10)
dav
array([10, 20, 30, 40, 50, 60, 70, 80, 90])
np.savez('massivlar',arr,dav)
arr23=np.load('massivlar.npz')

Download 56.3 Kb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling