SafeGraphInc / safegraph_py

Python code for common, repeatable data wrangling and analysis of SafeGraph data
Apache License 2.0
27 stars 15 forks source link

Packages Errors on `sgpy.test_me()` #35

Open hathawayj opened 3 years ago

hathawayj commented 3 years ago

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?

bpblakely commented 3 years ago

It looks like the function names for the test and help functions were changed, but the readme wasn't updated.

Try calling these functions instead

sgpy.test_me_sgpy() sgpy.help_sgpy()

hathawayj commented 3 years ago

Thanks. Those two worked. I will keep moving through the examples.