Advertisement
hendriawan

day3-04c-loadataset-python

Nov 30th, 2022
832
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.10 KB | Source Code | 0 0
  1. import numpy as np
  2. data= np.loadtxt("aksel.txt",delimiter=',')
  3. X=data[:,:3]
  4. y=data[:,3]
  5.  
  6. print(X,y)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement