code: def test_on_df_with_missing_entries():
      # this is a data frame where information about
      # antecedents and consequents have been cropped
      # see https://github.com/rasbt/mlxtend/issues/390
      # for more details
      dict = {
          "itemsets": [
              ["177", "176"],
              ["177", "179"],
              ["176", "178"],
              ["176", "179"],
              ["93", "100"],
              ["177", "178"],
              ["177", "176", "178"],
          ],
          "support": [
              0.253623,
              0.253623,
              0.217391,
              0.217391,
              0.181159,
              0.108696,
              0.108696,
          ],
      }
  
      df = pd.DataFrame(dict)
  
      numpy_assert_raises(KeyError, association_rules, df)
  
imports: import numpy
  import pandas
  import pytest
  from numpy.testing import assert_raises
  from mlxtend.frequent_patterns import apriori, association_rules
label_desc: Use image node_id 13 for calling a global function with example usage: test_on_df_with_missing_entries() without return types