code: def remove_stopwords(
      s: TextSeries,
      stopwords: Optional[Set[str]] = None,
      remove_str_numbers=False,
  ) -> TextSeries:
      """
      Remove all instances of `words`.
  
      By default use NLTK's english stopwords of 179 words:
  
      Parameters
      ----------
      s : :class:`texthero._types.TextSeries`
  
      stopwords : Set[str], optional, default=None
          Set of stopwords string to remove. If not passed,
          by default uses NLTK English stopwords.
  
      Examples
      --------
  
      Using default NLTK list of stopwords:
  
      >>> import texthero as hero
      >>> import pandas as pd
      >>> s = pd.Series("Texthero is not only for the heroes")
      >>> hero.remove_stopwords(s)
      0    Texthero      heroes
      dtype: object
  
      Add custom words into the default list of stopwords:
  
      >>> import texthero as hero
      >>> from texthero import stopwords
      >>> import pandas as pd
      >>> default_stopwords = stopwords.DEFAULT
      >>> custom_stopwords = default_stopwords.union(set(["heroes"]))
      >>> s = pd.Series("Texthero is not only for the heroes")
      >>> hero.remove_stopwords(s, custom_stopwords)
      0    Texthero
      dtype: object
  
  
      """
      return replace_stopwords(s, symbol="", stopwords=stopwords)
  
imports: from gensim.models.phrases import Phrases
  import re
  import string
  from typing import Optional, Set
  import unicodedata
  import numpy
  import pandas
  from texthero._types import TokenSeries, TextSeries, InputSeries
  from typing import List, Callable, Union
  import warnings
label_desc: Use image node_id 12 for calling a global function with example usage: remove_stopwords(s, stopwords, remove_str_numbers) and returns: replace_stopwords