Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def fetch_data(Data_Name):
- df = pd.read_csv(Data_Name,sep=';', header=[3], encoding='latin-1' )
- Header = list(df)
- df= df.iloc[:, 0:5]
- day= np.array(df.iloc[:, 1])
- process = np.array(df.iloc[:, 2])
- text = np.array(df.iloc[:, 3])
- value= np.array(df.iloc[:, 4])
- return day, process , text , value
- ['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