class_docstr: Test scatterplot.
class_docstr_tok: ["Test","scatterplot","."]
code: def test_top_words_space_char(self):
      s = pd.Series("one \n\t")
      s_true = pd.Series([1], index=["one"])
      self.assertEqual(visualization.top_words(s), s_true)
  
file_path: texthero/tests/test_visualization.py
imports: import string
  import pandas
  import doctest
  from texthero import visualization
  from .None import PandasTestCase
label_desc: Use image node_id 5 for calling the TestVisualization obj's underlying member method code with example usage: obj.test_top_words_space_char() without return types