I am trying to create a function that creates a dictionary for each day (first column), and records the feedback of the day.
(我正在尝试创建一个功能,该功能为每天(第一列)创建一个字典,并记录当天的反馈。)
The main thing im having an issue with is how to detect that it is a new day and to create a new dictionary.
(我遇到的主要问题是如何检测到这是新的一天并创建新的字典。)
Here is the data:
(数据如下:)
0 21 M 34 P
0 22 F 12 N
0 28 M 67 P
1 18 M 22 P
1 21 F 88 P
1 34 F 97 N
2 55 M 21 P
2 65 M 32 P
2 33 F 55 N
2 48 F 7 P
?
()
ask by rochimer translate from so