class_docstr: Test Manifold visualizer
class_docstr_tok: ["Test","Manifold","visualizer"]
docstr: Test manifold on a dataset made up of a pandas DataFrame and Series
docstr_tok: ["Test","manifold","on","a","dataset","made","up","of","a","pandas","DataFrame","and","Series"]
code: def test_manifold_pandas(self):
      """
      Test manifold on a dataset made up of a pandas DataFrame and Series
      """
      X, y = self.s_curves
  
      oz = Manifold(
          manifold="ltsa",
          colormap="nipy_spectral",
          n_neighbors=10,
          target="continuous",
          random_state=223,
      )
      oz.fit_transform(X, y)
      oz.finalize()
      oz.cbar.set_ticks([])
      # TODO: find a way to decrease this tolerance
      self.assert_images_similar(oz, tol=40)
  
imports: import pytest
  from yellowbrick.features.manifold import *
  from yellowbrick.utils.types import is_estimator
  from yellowbrick.features.base import TargetType
  from yellowbrick.exceptions import YellowbrickValueError, ModelError, NotFitted
  from sklearn.pipeline import Pipeline
  from sklearn.decomposition import PCA
  from sklearn.datasets import make_blobs
  from sklearn.datasets import make_s_curve
  from sklearn.manifold import LocallyLinearEmbedding
  from unittest.mock import patch
  from tests.base import VisualTestCase
label_desc: Use image node_id 18 for calling the TestManifold obj's underlying member method code with example usage: obj.test_manifold_pandas() without return types