class_docstr: Test ROCAUC visualizer
class_docstr_tok: ["Test","ROCAUC","visualizer"]
docstr: Test the ROCAUC with Pandas dataframe
docstr_tok: ["Test","the","ROCAUC","with","Pandas","dataframe"]
code: def test_pandas_integration(self):
      """
      Test the ROCAUC with Pandas dataframe
      """
      X, y = load_occupancy(return_dataset=True).to_pandas()
  
      # Create train/test splits
      splits = tts(X, y, test_size=0.2, random_state=4512)
      X_train, X_test, y_train, y_test = splits
  
      visualizer = ROCAUC(GaussianNB())
      visualizer.fit(X_train, y_train)
      visualizer.score(X_test, y_test)
  
      # Compare the images
      visualizer.finalize()
      self.assert_images_similar(visualizer)
  
imports: import pytest
  import numpy
  import numpy.testing
  from unittest.mock import patch
  from tests.base import VisualTestCase
  from yellowbrick.classifier.rocauc import *
  from yellowbrick.exceptions import ModelError
  from yellowbrick.datasets import load_occupancy
  from sklearn.svm import LinearSVC, SVC
  from sklearn.naive_bayes import GaussianNB
  from sklearn.linear_model import LogisticRegression
  from sklearn.base import BaseEstimator, ClassifierMixin
  from sklearn.model_selection import train_test_split
  from sklearn.ensemble import RandomForestClassifier, AdaBoostClassifier
  from sklearn.preprocessing import MinMaxScaler
  from sklearn.pipeline import Pipeline
label_desc: Use image node_id 12 for calling the TestROCAUC obj's underlying member method code with example usage: obj.test_pandas_integration() without return types