code: def test_head_tail_empty():
      # test empty dataframe
      empty_df = DataFrame()
      tm.assert_frame_equal(empty_df.tail(), empty_df)
      tm.assert_frame_equal(empty_df.head(), empty_df)
  
imports: import numpy
  from pandas import DataFrame
  import pandas._testing
label_desc: Use image node_id 3 for calling a global function with example usage: test_head_tail_empty() without return types