code: def test_row_to_names(dataframe):
      df = dataframe.row_to_names(2)
      assert df.columns[0] == 3
      assert df.columns[1] == 3.234_612_5
      assert df.columns[2] == 3
      assert df.columns[3] == "lion"
      assert df.columns[4] == "Basel"
  
file_path: pyjanitor/tests/functions/test_row_to_names.py
imports: import pandas
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_row_to_names(dataframe) without return types