code: def test_zip_longest():
      lili = [
          ["a0", "b0", "c0", "d0"],
          ["a1", "b1", "c1"],
          ["a2", "b2", "c2", "d2"],
          ["a3", "b3", "c3", "d3"],
          ["a4", "b4"],
      ]
  
      transposed = [
          ("a0", "a1", "a2", "a3", "a4"),
          ("b0", "b1", "b2", "b3", "b4"),
          ("c0", "c1", "c2", "c3", None),
          ("d0", None, "d2", "d3", None),
      ]
  
      assert_(
          list(zip_longest(*lili)) == transposed,
          "{!r} not equal {!r}".format(zip_longest(*lili), transposed),
      )
  
imports: from statsmodels.compat import lrange
  from itertools import combinations, zip_longest
  from numpy.testing import assert_
label_desc: Use image node_id 1 for calling a global function with example usage: test_zip_longest() without return types