code: def test_dropna_dataframe(data, how, axis, inplace):
      pdf = pd.DataFrame(data)
      gdf = cudf.from_pandas(pdf)
  
      expected = pdf.dropna(axis=axis, how=how, inplace=inplace)
      actual = gdf.dropna(axis=axis, how=how, inplace=inplace)
  
      if inplace:
          expected = pdf
          actual = gdf
  
      assert_eq(expected, actual)
  
file_path: cudf/python/cudf/cudf/tests/test_dropna.py
imports: import numpy
  import pandas
  import pytest
  import cudf
  from cudf.testing._utils import _create_pandas_series_float64_default, assert_eq
label_desc: Use image node_id 2 for calling a global function with example usage: test_dropna_dataframe(data, how, axis, inplace) without return types