での時間差をプロットし、時間との誤差を持っているファイルからグループ化された辞書のリストを取得します。その後、私は以下のように、このファイルを持っているのpython
Date;Time;Task;Error_Line;Error_Message
03-13-15;08:2123:10;C:LOGINMAN;01073;Web Login Successful from IP Address xxx.xxx.x.xx
03-13-15;05:23:1235;B:VDOM;0906123;Port 123 Device 1Remote 1 1Link Up RP2009
03-13-15;05:23:123123;A:VCOM;0906123;Port 123 Device 1Remote 1 1Link Up RP2009
03-13-15;05:23:123123;B:VDOM;1312325;Port 123 Device 1Remote 1 1Receive Time Error: 2123666 23270 1396 69
03-13-15;05:23:1233;B:VDOM;13372;Port 123 Device 1Remote 1 1Send Time Error: 123123123 1888 1123123123 69
03-13-15;05:23:1233;A:VCOM;1312325;Port 123 Device 1Remote 1 1Receive Time Error: 2123666 23270 1396 69
03-13-15;05:23:1233;A:VCOM;13372;Port 123 Device 1Remote 1 1Send Time Error: 123123123 1888 1123123123 69
03-13-15;05:21:56;B:VDOM;07270;Port 123 Device 1Remote 1 1AT Timer Expired
03-13-15;05:21:56;A:VCOM;07270;Port 123 Device 1Remote 1 1AT Timer Expired
所望の出力は、そのようにする必要があります:
D = {'Error_line1': [Time1,Time2,...],'Error_Line2' = [Time1,Time2,..],...}
私はError_Lineに基づいて時間差をプロットすることを探していました。私のファイルのError_Lineは異なる時刻に発生します。私はError_Lineに従ってグループ時間を欲しいです。私はそれが時間をプロットするために働くかどうか分かりません。