code: def test_topic_keywords(lda_model, nmf_model):
      lda_keywords_df = lda_model.show(num_topic_words=5)
      assert lda_keywords_df.shape == (
          5,
          2 * lda_model.num_topics,
      ), "Test topic keywords function is the incorrect size"
      assert isinstance(
          lda_keywords_df, pd.DataFrame
      ), "Output is not of the expected return type of Pandas data frame"
      nmf_keywords_df = nmf_model.show()
      assert nmf_keywords_df.shape == (
          10,
          3,
      ), "Test topic keywords function is the incorrect size"
      assert isinstance(
          nmf_keywords_df, pd.DataFrame
      ), "Output is not of the expected return type of Pandas data frame"
  
imports: import pandas
  import numpy
  import matplotlib
  import sklearn
  import pytest
  from data_describe.text.topic_modeling import topic_model
label_desc: Use image node_id 16 for calling a global function with example usage: test_topic_keywords(lda_model, nmf_model) without return types