Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

pvsystem.sapm error with input module as type DataFrame #785

Copy link
Copy link
@cwhanse

Description

@cwhanse
Issue body actions

Describe the bug
Docstring for pvsystem.sapm states

    module : dict-like
        A dict, Series, or DataFrame defining the SAPM performance
        parameters. See the notes section for more details.

DataFrame input is not tested. The function errors when module parameter are supplied in a DataFrame.

To Reproduce
Steps to reproduce the behavior: see attached

Expected behavior
pvsystem.sapm should give correct results if parameters are in a DataFrame. Otherwise, we should remove the option from the docstring.

Versions:

  • pvlib.__version__: 0.6.1
  • pandas.__version__: 0.24.2
  • python: 3.6.8

sapm_dataframe.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.