class_docstr: Various Series and DataFrame methods.
class_docstr_tok: ["Various","Series","and","DataFrame","methods","."]
code: def test_value_counts_default_dropna(self, data):
      # make sure we have consistent default dropna kwarg
      if not hasattr(data, "value_counts"):
          pytest.skip(
              f"value_counts is not implemented for {type(data)}"
          )
      sig = inspect.signature(data.value_counts)
      kwarg = sig.parameters["dropna"]
      assert kwarg.default is True
  
imports: import inspect
  import operator
  import numpy
  import pytest
  from pandas._typing import Dtype
  from pandas.core.dtypes.common import is_bool_dtype
  from pandas.core.dtypes.dtypes import NumpyEADtype
  from pandas.core.dtypes.missing import na_value_for_dtype
  import pandas
  import pandas._testing
  from pandas.core.sorting import nargsort
label_desc: Use image node_id 2 for calling the BaseMethodsTests obj's underlying member method code with example usage: obj.test_value_counts_default_dropna(data) without return types