code: def test_clean_data_X_only():
      """Test that nan-containing X rows are removed without y."""
      X = np.array(
          [[1, 2, np.nan], [4, 5, 6], [np.nan, np.nan, np.nan]]
      )
  
      expected = np.array([[4, 5, 6]])
      observed = filter_missing(X)
  
      np.testing.assert_array_equal(expected, observed)
  
file_path: yellowbrick/tests/test_utils/test_nan_warnings.py
imports: import numpy
  import pytest
  from yellowbrick.exceptions import DataWarning
  from yellowbrick.utils.nan_warnings import count_nan_elements, count_rows_with_nans, warn_if_nans_exist, filter_missing
label_desc: Use image node_id 5 for calling a global function with example usage: test_clean_data_X_only() without return types