PerformanceWarning
instances raised on population dataframe creation
#1174
Labels
warning
Warnings generated by code that should be addressed
Since the update to pandas v2 we get a series of warnings
from the lines
TLOmodel/src/tlo/population.py
Lines 64 to 67 in dcdf014
I'm not sure, but I think the performance issue mentioned is with respect to the cost of creating a dataframe with lots of columns by inserting one by one rather than adding altogether, rather than having an implication for the subsequent cost of accessing data in that dataframe (which would be much more of an issue in our case), but it would still be worth fixing this to avoid the warnings.
Originally posted by @matt-graham in #1159 (comment)
The text was updated successfully, but these errors were encountered: