Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. def fetch_data(Data_Name):
  2. df = pd.read_csv(Data_Name,sep=';', header=[3], encoding='latin-1' )
  3.  
  4. Header = list(df)
  5. df= df.iloc[:, 0:5]
  6. day= np.array(df.iloc[:, 1])
  7. process = np.array(df.iloc[:, 2])
  8. text = np.array(df.iloc[:, 3])
  9. value= np.array(df.iloc[:, 4])
  10. return day, process , text , value
  11.  
  12. ['23.07.2019' '23.07.2019' '23.07.2019' '22.07.2019' '22.07.2019'...]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement