Giter Club home page Giter Club logo

Comments (5)

kbonney avatar kbonney commented on September 26, 2024

This error occurs because we are using deprecated API for pandas Series objects as described on this pandas documentation page.

The simple fix is to use the correct method items for a series rather than iteritems. @MunsakaPKM, if you are interested in contributing to WNTR please feel welcome to create a PR to address this.

from wntr.

MunsakaPKM avatar MunsakaPKM commented on September 26, 2024

from wntr.

kbonney avatar kbonney commented on September 26, 2024

Sure, here are some steps to help get you started:

  1. Create a fork of WNTR and clone it locally.
  2. Install WNTR following the developer instructions , except instead of using USEPA's WNTR, use the WNTR from your fork. I recommend installing to a fresh python environment.
  3. Make the changes we discussed to the code on a new branch. You can test these changes by running pytest wntr, but they will also be automatically tested when you create the pull request.
  4. Commit these changes and push the branch to your fork.
  5. Make a PR for your new branch. Fill out the template that we provide.
    Once you done that we can look at the next steps.

from wntr.

kbonney avatar kbonney commented on September 26, 2024

Since this bug is not showing up in our current test suite, there should also be an update to the tests to make sure this code is covered properly. I wouldn't worry about this in your PR @MunsakaPKM, I can take care of it on the side.

from wntr.

MunsakaPKM avatar MunsakaPKM commented on September 26, 2024

from wntr.

Related Issues (20)

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.