You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using GroupView to stimulate, clamp, and insert channels, Pandas raises
PerformanceWarning: DataFrame is highly fragmented. This is usually the result of calling frame.insert many times, which has poor performance. Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use newframe = frame.copy()
and references lines
252 in base.py (self.nodes.loc[view.index.values, key] = channel.channel_params[key])
Other operations may raise this warning as well. I am not sure how much this is reducing performance exactly, but it seems like something that could be addressed.
The text was updated successfully, but these errors were encountered:
When using GroupView to stimulate, clamp, and insert channels, Pandas raises
PerformanceWarning: DataFrame is highly fragmented. This is usually the result of calling frame.insert many times, which has poor performance. Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use newframe = frame.copy()
and references lines
self.nodes.loc[view.index.values, key] = channel.channel_params[key]
)view["controlled_by_param"] = 0
)view["global_comp_index"] = view["comp_index"], view["global_branch_index"] = view["branch_index"], view["global_cell_index"] = view["cell_index"]
)Other operations may raise this warning as well. I am not sure how much this is reducing performance exactly, but it seems like something that could be addressed.
The text was updated successfully, but these errors were encountered: