Giter VIP home page Giter VIP logo

arcospy's Introduction

Hello there! ๐Ÿ‘‹

My name is Jeff Sauer (he/him) and I am a quantitative modeler, spatial data scientist, and researcher. Outside of work I am an avid reader and fan of nature walks. Most recent book suggestion: Dear Friend, from My Life I Write to You in Your Life by Yiyun Li. ๐Ÿ“˜

Links to: LinkedIn, Google Scholar

Feel free to email me at: [email protected] ๐Ÿ“ง

Projects

arcospy's People

Contributors

jeffcsauer avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

arcospy's Issues

Getting error 'ValueError: If using all scalar values, you must pass an index'

running df = arcospy.drug_list(key = 'WaPo') and getting error (it worked last week)

/tmp/1000670000/ipykernel_3706/3516493274.py in <module>
----> 1 df = arcospy.drug_list(key = 'WaPo')

/opt/conda/envs/Python-3.9/lib/python3.9/site-packages/arcospy/arcospy.py in drug_list(key)
    296     requestdata = requestdata.json()
    297 
--> 298     return pd.DataFrame.from_records(requestdata)
    299 
    300 def not_pharmacies(key=''):

/opt/conda/envs/Python-3.9/lib/python3.9/site-packages/pandas/core/frame.py in from_records(cls, data, index, exclude, columns, coerce_float, nrows)
   2120 
   2121         manager = get_option("mode.data_manager")
-> 2122         mgr = arrays_to_mgr(arrays, arr_columns, result_index, columns, typ=manager)
   2123 
   2124         return cls(mgr)

/opt/conda/envs/Python-3.9/lib/python3.9/site-packages/pandas/core/internals/construction.py in arrays_to_mgr(arrays, arr_names, index, columns, dtype, verify_integrity, typ, consolidate)
    117         # figure out the index, if necessary
    118         if index is None:
--> 119             index = _extract_index(arrays)
    120         else:
    121             index = ensure_index(index)

/opt/conda/envs/Python-3.9/lib/python3.9/site-packages/pandas/core/internals/construction.py in _extract_index(data)
    623 
    624         if not indexes and not raw_lengths:
--> 625             raise ValueError("If using all scalar values, you must pass an index")
    626 
    627         if have_series:

ValueError: If using all scalar values, you must pass an index

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.