質問編集履歴

1

補足のソースコードを追記しました。

2018/12/04 05:46

投稿

arashi1204
arashi1204

スコア15

test CHANGED
File without changes
test CHANGED
@@ -28,6 +28,26 @@
28
28
 
29
29
 
30
30
 
31
+ ### 補足のソースコード
32
+
33
+
34
+
35
+ df = pd.DataFrame(
36
+
37
+ {'B': ['time:2018-1-1', 'ip:192.168.1.2', 'time:2018-2-1', 'ip:192.168.5.5'],
38
+
39
+ 'D': ['ip:192.168.10.2', 'time:2018-1-1', 'port:80', 'port:80'],
40
+
41
+ 'F': ['country_japan', 'country_china', 'ip:192.168.9.1', 'time:2018-2-1'],
42
+
43
+ 'G': ['', 'port:80', '', 'country_japan']})
44
+
45
+
46
+
47
+
48
+
49
+
50
+
31
51
  ### 試したこと
32
52
 
33
53