code: def test_nan_in_xls(datapath):
      # GH 54564
      path = datapath("io", "data", "excel", "test6.xls")
  
      expected = pd.DataFrame(
          {0: np.r_[0, 2].astype("int64"), 1: np.r_[1, np.nan]}
      )
  
      result = pd.read_excel(path, header=None)
  
      tm.assert_frame_equal(result, expected)
  
file_path: pandas/pandas/tests/io/excel/test_xlrd.py
imports: import io
  import numpy
  import pytest
  import pandas
  import pandas._testing
  from pandas.io.excel import ExcelFile
  from pandas.io.excel._base import inspect_excel_format
label_desc: Use image node_id 4 for calling a global function with example usage: test_nan_in_xls(datapath) without return types