hi!
I got this warning when using pykobo to fetch_data() from a Kobo form with 139 questions:
Python\Lib\site-packages\pykobo\form.py:89: 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()
I tried to add .copy() after .fetch_data() but it still gave warning
How can I get rid of this warning?
hi!
I got this warning when using pykobo to fetch_data() from a Kobo form with 139 questions:
Python\Lib\site-packages\pykobo\form.py:89: PerformanceWarning: DataFrame is highly fragmented. This is usually the result of calling
frame.insertmany times, which has poor performance. Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, usenewframe = frame.copy()I tried to add .copy() after .fetch_data() but it still gave warning
How can I get rid of this warning?