Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can now return the labels of the pois rather than just the distances #47

Merged
merged 3 commits into from
Nov 11, 2015

Commits on Nov 7, 2015

  1. can now return the labels of the pois rather than just the distances

    just pass include_poi_ids when getting nearest pois, and instead of just distances, you will get the labels of the poi that's at that distance.  So for instance, if you're trying ot access the nearest hospitals, you won't just get the distance to the nearest N hospitals, but also the names of the nearest N hospitals.  As you might expect with a Pandas-centric view, the names of the hospitals are taken from the index of the x-y series that are passed in to init_pois.
    fscottfoti committed Nov 7, 2015
    Configuration menu
    Copy the full SHA
    9aa57be View commit details
    Browse the repository at this point in the history
  2. pep8

    fscottfoti committed Nov 7, 2015
    Configuration menu
    Copy the full SHA
    9d23502 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2015

  1. Configuration menu
    Copy the full SHA
    b826a5c View commit details
    Browse the repository at this point in the history