class_docstr: High-level description of data present in this DataFrame.
  
  This is a custom data accessor.
docstr: Update the description for each of the columns in the DataFrame.
  
  Args:
      desc: The structure containing the descriptions to update
  
  Raises:
      ValueError: If length of description list does not match
          number of columns in DataFrame.
docstr_tok: ["Update","the","description","for","each","of","the","columns","in","the","DataFrame",".","Args",":","desc",":","The","structure","containing","the","descriptions","to","update","Raises",":","ValueError",":","If","length","of","description","list","does","not","match","number","of","columns","in","DataFrame","."]
code: def set_description(self, desc: Union[List, Dict]):
      """Update the description for each of the columns in the DataFrame.
  
      Args:
          desc: The structure containing the descriptions to update
  
      Raises:
          ValueError: If length of description list does not match
              number of columns in DataFrame.
      """
      if isinstance(desc, list):
          if len(desc) != len(self._data.columns):
              raise ValueError(
                  "Length of description list "
                  f"({len(desc)}) does not match number of columns in "
                  f"DataFrame ({len(self._data.columns)})"
              )
  
          self._desc = dict(zip(self._data.columns, desc))
  
      elif isinstance(desc, dict):
          self._desc = desc
  
file_path: pyjanitor/janitor/accessors/data_description.py
imports: from typing import Dict, List, Union
  import pandas
  import pandas_flavor
label_desc: Use image node_id 6 for calling the DataDescription obj's underlying member method code with example usage: obj.set_description(desc) without return types