Commit 4b8ec24b authored by Laurent BERGER's avatar Laurent BERGER
Browse files

Fix pylint

parents 45416f0a b4afe51f
......@@ -73,11 +73,11 @@ def import_casino_bio(path_evt): #sert a lire le fichier casino: PHOENIX2018_cas
#C=C0.to_numpy(dtype='str')
Entete =C[0,:]
C = C[1:len(C),:]
C = C[1:(len(C)),:]
index_events = np.squeeze(np.where(C[:,6]!='OPE'))
date_heure = np.array(pd.to_datetime(np.char.add(C[:,0],C[:,1]), format="%d/%m/%Y%H:%M:%S"),dtype = np.datetime64)
date_heure = np.array((pd.to_datetime((np.char.add(C[:,0],C[:,1])), format="%d/%m/%Y%H:%M:%S")),dtype = np.datetime64)
return C,Entete,index_events,date_heure
return C,Entete,index_events,date_heure
def import_casino_TUBE(path_evt): #sert a lire le fichier casino: PHOENIX2018_casino_plongees_tube.txt
......@@ -89,11 +89,11 @@ def import_casino_TUBE(path_evt): #sert a lire le fichier casino: PHOENIX2018_ca
#C=C0.to_numpy(dtype='str')
Entete =C[0,:]
C = C[1:len(C),:]
C = C[1:(len(C)),:]
index_events = np.squeeze(np.where(C[:,8]!='OPE'))
date_heure = np.array(pd.to_datetime(np.char.add(C[:,0],C[:,1]), format='%d/%m/%Y%H:%M:%S'),dtype = np.datetime64)
date_heure = np.array((pd.to_datetime((np.char.add(C[:,0],C[:,1])), format='%d/%m/%Y%H:%M:%S')),dtype = np.datetime64)
return C,Entete,index_events,date_heure
return C,Entete,index_events,date_heure
####################################################################################################
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment