Giter Club home page Giter Club logo

safegraph_py's People

Contributors

bpblakely avatar echong-sg avatar felixsafegraph avatar koshy1123 avatar kruser1 avatar matt-dawidowicz avatar ryanfoxsquire avatar tahentx avatar trippl7777 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

safegraph_py's Issues

explode_json_array error on destination_cbgs

If you try to call explode_json_array on destination_cbgs column from the social distancing data set you will get an error when calling pandas explode function

day_visits_exp = df[[place_key, file_key, array_column+'_json']].explode(array_column+'_json')

Error thrown: "KeyError: 0"

This is the error you get when trying to explode a column contain a json that has data stored as {"string" : integer}

I think in our case we get this error because if you try to express 012345 to an integer you get an error because an integer cannot start with a 0.

Safegraph_py unable to run in my local system--juypter lab

I have tried to install the safegraph_py package as provided in the readme documentation 'pip install -q --upgrade git+https://github.com/SafeGraphInc/safegraph_py'; I created a new environment on juypter lab and installed pandas, numpy, and matplotlib. But, however, when I copy and run the script sgpy.test_me(), sgpy.help(), I get an AttributeError like:
AttributeError Traceback (most recent call last)
Cell In[5], line 3
1 # test the library
----> 3 sgpy.test_me()

AttributeError: module 'safegraph_py_functions.safegraph_py_functions' has no attribute 'test_me'

Could you help by any chance. Thanks.

Packages Errors on `sgpy.test_me()`

I can't get the package to work locally or with your colab link - https://colab.research.google.com/drive/1V7hnyYuY_dUXQEPkCMZkgMuBFQV4iA_4?usp=sharing.

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-3-6eeabfa33c5b> in <module>()
      1 # test the library
      2 
----> 3 sgpy.test_me()

AttributeError: module 'safegraph_py_functions.safegraph_py_functions' has no attribute 'test_me'
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-4-33e3550b5423> in <module>()
      1 ### Type sgpy.help() to get a list of active functions and a brief description of what they do / required arguments
      2 
----> 3 sgpy.help()

AttributeError: module 'safegraph_py_functions.safegraph_py_functions' has no attribute 'help'

Any ideas?

Undeclared package dependencies

This package has dependencies on at least 3 other packages that are not declared as dependencies in setup.py. Please add them to the install_requires or extras_require section of the setup.py file. See the setuptools user guide for more information.

from pydrive.auth import GoogleAuth
from pydrive.drive import GoogleDrive
from google.colab import auth
from oauth2client.client import GoogleCredentials

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.