From da4c7c28836069e08bfa9b43be5d764a80e1a9fc Mon Sep 17 00:00:00 2001 From: abhaychaturvedii <55993241+abhaychaturvedii@users.noreply.github.com> Date: Tue, 1 Oct 2019 21:25:19 +0530 Subject: [PATCH] edit --- Ad Server Session Algo.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Ad Server Session Algo.py b/Ad Server Session Algo.py index 7e0f511..f52e94e 100644 --- a/Ad Server Session Algo.py +++ b/Ad Server Session Algo.py @@ -4,7 +4,9 @@ import string import numpy as np import sys - +# proces wstępny +input = pd.read_csv ('yoda_exp_hr_user_askfm.csv', sep = ",", kodowanie = 'utf-16') # przeczytaj plik +input ['request_time'] = input.request_time.str.split ('.'). str [0]; #trucnate the microsec #pre-process input=pd.read_csv('yoda_exp_hr_user_askfm.csv',sep=",",encoding='utf-16') #read file input['request_time']=input.request_time.str.split('.').str[0]; #trucnate the microsec