Code Monkey home page Code Monkey logo

pykobo's People

Contributors

jvaleroliet avatar pvernier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pykobo's Issues

Collaboration Request

Hi, I have already made a package with more features that I would like to combine with yours. How can I contact you?

field["name"] not found error

This issue might be because of different Kobotoolbox form structure. In my case, when I tried fetch_data() function and the error happened like this:
image

When I tried to test pykobo locally , I changed name_q variable from form.py. As the screenshot below , after I changed name_q = field["$autoname"] , the error is being solved. I think it's because they didn't have "name" attribute in some fields, but there's same value "$autoname" that Kobotoolbox automatically generated. We should use that attribute instead of "name".

image

This issue is also related to this previous issue that I opened.

Working Environments
Errors happened on Google Colab.
Local code tested on MacOS.

PerformanceWarning

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.