code: def nontemporal_method(request):
      """Fixture that returns an (method name, required kwargs) pair.
  
      This fixture does not include method 'time' as a parameterization; that
      method requires a Series with a DatetimeIndex, and is generally tested
      separately from these non-temporal methods.
      """
      method = request.param
      kwargs = (
          {"order": 1} if method in ("spline", "polynomial") else {}
      )
      return method, kwargs
  
imports: import numpy
  import pytest
  import pandas.util._test_decorators
  import pandas
  from pandas import Index, MultiIndex, Series, date_range, isna
  import pandas._testing
label_desc: Use image node_id 1 for calling a global function with example usage: nontemporal_method(request) and returns: method,  kwargs