Apr 3, 2024, 8:55 PM
NaN
. This suggests there was an issue with the input data provided to the chi-square test function, possibly due to missing or incorrect data formatting.NaN
values indicate a need to revisit the data preparation step to ensure the input data for the chi-square test is correctly formatted and contains no missing values.NaN
values in our contingency table. This issue likely stems from the way we attempted to sum the data, possibly due to incorrect handling of the data types or an error in the aggregation logic.