-
Notifications
You must be signed in to change notification settings - Fork 945
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Matching Python types for return values of
pvsystem.calcparams_*
(#…
…1700) * two decorators for renaming pd.Series in a function * calcparams_* Rs return value to match temp_cell type * adding tests for pd.Series naming and resistance_series type conversion * methods for converting between numeric-type values * adding more tests and clarifying documentation * rename pdSeries clear name decorator and move it to pvlib.tools * adding support for scalar to np.ndarray of any shape * updating match_shape docstring * fixing syntax error * fix stickler issues * different approach * remove unnecessary asserts * remove file * update whatsnew * add tests for all scalar inputs, and pass np.arrays to assert_allclose * Update docs/sphinx/source/whatsnew/v0.10.0.rst Co-authored-by: Cliff Hansen <cwhanse@sandia.gov> * if condition swap, tests for tools.get_pandas_index, tests for returned Python type * fix typo in docstring * correct calcparams_cec test, and add test for calcparams_pvsyst all scalars --------- Co-authored-by: Cliff Hansen <cwhanse@sandia.gov>
- Loading branch information
Showing
5 changed files
with
343 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.