|
hi guys, I am trying to understand how to use the function inverter.fit_sandia. how should my data be formatted to be working with the function? |
Answered by
cwhanse
Dec 6, 2024
Replies: 1 comment 3 replies
|
The docstring summarizes the data expected by that function: "array_like" can be a numpy array or a pandas Series. Lists won't work. Each array needs to be the same length. The values in each array must be ordered so that the values for one measurement point are in the same position in each array. The easiest way to do this is probably to put your data into a DataFrame, and then pass a Series to each corresponding inputs. |
3 replies
Answer selected by
kandersolar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The docstring summarizes the data expected by that function:
"array_like" can be a numpy array or a pandas Series. Lists won't work.
Each array needs to be the same length. The values in each array must be ordered so that the values for one measurement point are in the same position in each array. The easie…