You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
array = data_frame[column]
# Skip assertion if an array of strings
if (array.dtype == "O") and (type(array[0]) is str):
array is a series, this will fail if there is no index 0 (which will happen when num_regression is called with a data_index field.
it should be array.iloc[0]
The text was updated successfully, but these errors were encountered:
pytest-regressions/src/pytest_regressions/dataframe_regression.py
Line 247 in 48563ec
array is a series, this will fail if there is no index 0 (which will happen when num_regression is called with a data_index field.
it should be
array.iloc[0]
The text was updated successfully, but these errors were encountered: