class_docstr: Test the MultiFeatureVisualizer base class
class_docstr_tok: ["Test","the","MultiFeatureVisualizer","base","class"]
docstr: Ensure that DataFrame column names are uses as features
code: def test_pandas_string_columns(self):
      """
      Ensure that DataFrame column names are uses as features
      """
      X, y = self.discrete
      features = ["f{}".format(i + 1) for i in range(X.shape[1])]
  
      X = pd.DataFrame(X, columns=features)
      y = pd.Series(y, name="target")
  
      oz = MultiFeatureVisualizer()
      assert not hasattr(oz, "features_")
      assert oz.fit(X, y) is oz
      assert hasattr(oz, "features_")
      npt.assert_array_equal(oz.features_, np.asarray(features))
  
imports: import pytest
  import numpy
  import numpy.testing
  from tests.fixtures import Dataset
  from yellowbrick.base import Visualizer
  from yellowbrick.features.base import *
  from sklearn.base import BaseEstimator, TransformerMixin
  from sklearn.datasets import make_classification, make_regression
  from unittest.mock import Mock
label_desc: Use image node_id 4 for calling the TestMultiFeatureVisualizer obj's underlying member method code with example usage: obj.test_pandas_string_columns() without return types