code: def test_interp_axis_names(self, axis_name, axis_number):
      # GH 29132: test axis names
      data = {0: [0, np.nan, 6], 1: [1, np.nan, 7], 2: [2, 5, 8]}
  
      df = DataFrame(data, dtype=np.float64)
      result = df.interpolate(axis=axis_name, method="linear")
      expected = df.interpolate(axis=axis_number, method="linear")
      tm.assert_frame_equal(result, expected)
  
imports: import numpy
  import pytest
  from pandas._config import using_pyarrow_string_dtype
  from pandas.errors import ChainedAssignmentError
  import pandas.util._test_decorators
  from pandas import DataFrame, NaT, Series, date_range
  import pandas._testing
label_desc: Use image node_id 14 for calling the TestDataFrameInterpolate obj's underlying member method code with example usage: obj.test_interp_axis_names(axis_name, axis_number) without return types