def test_boxplot_features_none(): da = DataAnalyst(data) da.boxplot(target=["c"], display=True)
def test_boxplot_incorrect_path(): da = DataAnalyst(data) with pytest.raises(NameError): da.boxplot(features=col, target=["c"], save_image=True, path="/invalid")
def test_boxplot_display_image(): da = DataAnalyst(data) da.boxplot(features=["a", "b"], target=["c"], display=True)
def test_boxplot_target_error_only(): da = DataAnalyst(data) with pytest.raises(NameError): da.boxplot(features=col, target=["a", "b"])
def test_boxplot_target_error_None(): da = DataAnalyst(data) with pytest.raises(NameError): da.boxplot(features=col)
def test_boxplot_feature_error_null(): da = DataAnalyst(data) with pytest.raises(NameError): da.boxplot(features=col, target=["d"])
def test_boxplot_feature_error_type(): da = DataAnalyst(data) with pytest.raises(TypeError): da.boxplot(features=["a"], target=np.array(col))
def test_boxplot_features_error_object(): da = DataAnalyst(data) with pytest.raises(NameError): da.boxplot(features=["c"], target=["a"])
def test_boxplot_features_error_not_included(): da = DataAnalyst(data) with pytest.raises(NameError): da.boxplot(features=["d"])
def test_boxplot_features_error_empty(): da = DataAnalyst(data) with pytest.raises(NameError): da.boxplot(features=[])