// Convert to numpy arrays
X = X.copy().view((float, len(X.dtype.names)))
y = self.occupancy["occupancy"].astype(int)
// Test the visualizer
features = ["temperature", "relative_humidity"]
visualizer = ScatterViz(features=features)
After Change
Test scatter on the real, occupancy data set
// Load the data from the fixture
X, y = load_occupancy(return_dataset=True).to_numpy()
// Test the visualizer
features = ["temperature", "relative humidity"]
visualizer = ScatterViz(features=features)