code: def test_dataframe_shape(nlevels, shape):
      """test if the returned data frame has desired shape"""
      dataframe = randc(nlevels, shape)
      assert dataframe.shape == shape
  
imports: import numpy
  import pytest
  from impyute.dataset.base import randc
  from impyute.ops import error
label_desc: Use image node_id 3 for calling a global function with example usage: test_dataframe_shape(nlevels, shape) without return types