-
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? |
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
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…