code: def _get_valid_samples_by_column(X, col):
      """Get non NaN samples in column of X"""
      return X[:, [col]][~np.isnan(X[:, col])]
  
file_path: scikit-learn/sklearn/preprocessing/tests/test_common.py
imports: import warnings
  import numpy
  import pytest
  from sklearn.base import clone
  from sklearn.datasets import load_iris
  from sklearn.model_selection import train_test_split
  from sklearn.preprocessing import MaxAbsScaler, MinMaxScaler, PowerTransformer, QuantileTransformer, RobustScaler, StandardScaler, maxabs_scale, minmax_scale, power_transform, quantile_transform, robust_scale, scale
  from sklearn.utils._testing import assert_allclose, assert_array_equal
  from sklearn.utils.fixes import BSR_CONTAINERS, COO_CONTAINERS, CSC_CONTAINERS, CSR_CONTAINERS, DIA_CONTAINERS, DOK_CONTAINERS, LIL_CONTAINERS
label_desc: Use image node_id 1 for calling a global function with example usage: _get_valid_samples_by_column(X, col) and returns: X