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
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?
The text was updated successfully, but these errors were encountered:
Thanks for reporting this. I also got it with big surveys. I need to investigate more but I think the easiest way would be for me to ignore the Pandas performance warnings.
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, usenewframe = frame.copy()
I tried to add .copy() after .fetch_data() but it still gave warning
How can I get rid of this warning?
The text was updated successfully, but these errors were encountered: