We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d26843 commit 33d3ccbCopy full SHA for 33d3ccb
1 file changed
treecript/parser.py
@@ -171,7 +171,7 @@ def metrics_parser(
171
pids["parent"] = pids.apply(
172
lambda row: str(row.ppid_create_time) + "_" + str(row.PPID)
173
if not pd.isna(row.PPID)
174
- else None,
+ else pd.NA,
175
axis=1,
176
)
177
@@ -211,7 +211,7 @@ def metrics_parser(
211
pids["command"] = main_commands
212
pids["command_label"] = command_labels
213
pids["full_command"] = full_command
214
- pids["full_stats"] = full_stats
+ pids["full_stats"] = pd.array(full_stats)
215
pids["subtree_root"] = subtree_root
216
217
return pids, num_cpu_cores, sampling_period_seconds
0 commit comments