class_docstr: FeatureCorrelation visualizer
class_docstr_tok: ["FeatureCorrelation","visualizer"]
docstr: Test getting feature labels from DataFrame
docstr_tok: ["Test","getting","feature","labels","from","DataFrame"]
code: def test_feature_correlation_labels_from_dataframe(self):
      """
      Test getting feature labels from DataFrame
      """
      X_pd = pd.DataFrame(self.X, columns=self.labels)
  
      viz = FeatureCorrelation()
      viz.fit(X_pd, self.y)
  
      npt.assert_array_equal(viz.features_, self.labels)
  
imports: import sys
  import pytest
  import numpy
  import numpy.testing
  from yellowbrick.target import FeatureCorrelation, feature_correlation
  from yellowbrick.exceptions import YellowbrickValueError, YellowbrickWarning
  from sklearn import datasets
  from tests.base import VisualTestCase
label_desc: Use image node_id 7 for calling the TestFeatureCorrelationVisualizer obj's underlying member method code with example usage: obj.test_feature_correlation_labels_from_dataframe() without return types