class_docstr: Test the RadViz visualizer
class_docstr_tok: ["Test","the","RadViz","visualizer"]
docstr: Test RadViz with Pandas on the occupancy dataset
docstr_tok: ["Test","RadViz","with","Pandas","on","the","occupancy","dataset"]
code: def test_integrated_radviz_with_pandas(self):
      """
      Test RadViz with Pandas on the occupancy dataset
      """
      data = load_occupancy(return_dataset=True)
      X, y = data.to_pandas()
  
      assert isinstance(X, pd.DataFrame)
      assert isinstance(y, pd.Series)
  
      # Test the visualizer
      visualizer = RadViz()
      visualizer.fit_transform(X, y)
      visualizer.finalize()
      self.assert_images_similar(visualizer, tol=0.1)
  
file_path: yellowbrick/tests/test_features/test_radviz.py
imports: import sys
  import pytest
  import numpy.testing
  from tests.base import IS_WINDOWS_OR_CONDA, VisualTestCase
  from ..fixtures import Dataset
  from sklearn.datasets import make_classification
  from yellowbrick.datasets import load_occupancy
  from yellowbrick.features.radviz import *
label_desc: Use image node_id 4 for calling the TestRadViz obj's underlying member method code with example usage: obj.test_integrated_radviz_with_pandas() without return types