code: def test_filter_terms_by_df_identity(vectorizer_and_dtm):
      vectorizer, doc_term_matrix = vectorizer_and_dtm
      dtm, vocab = representations.filter_terms_by_df(
          doc_term_matrix,
          vectorizer.vocabulary_terms,
          max_df=1.0,
          min_df=1,
          max_n_terms=None,
      )
      assert dtm.shape == doc_term_matrix.shape
      assert vocab == vectorizer.vocabulary_terms
  
imports: import pytest
  import numpy
  from scipy.sparse import coo_matrix
  from textacy import extract, representations
label_desc: Use image node_id 17 for calling a global function with example usage: test_filter_terms_by_df_identity(vectorizer_and_dtm) without return types