code: def test_nans(df_with_fully_nan, df_with_single_nan_in_col):
      # Act & Assert
      helper_test_df_and_result(
          df_with_fully_nan, {"col1": 1, "col2": 1}, ignore_nan=False
      )
      helper_test_df_and_result(
          df_with_single_nan_in_col,
          {"col1": 11, "col2": 11},
          ignore_nan=False,
      )
  
imports: import numpy
  import pandas
  from hamcrest import assert_that, calling, equal_to, greater_than, has_items, has_length, raises
  from deepchecks.core.errors import DatasetValidationError, DeepchecksValueError
  from deepchecks.tabular.checks.data_integrity.is_single_value import IsSingleValue
  from tests.base.utils import equal_condition_result
label_desc: Use image node_id 12 for calling a global function with example usage: test_nans(df_with_fully_nan, df_with_single_nan_in_col) without return types