parameters: (self, columns, columns_name)
docstring: Validate the columns of csv
docstring_summary: Validate the columns of csv
docstring_tokens: Validate the columns of csv
function: def _check_columns(self, columns, columns_name):
          """
          Validate the columns of csv
          """
          if not columns:
              return
          if isinstance(columns, list):
              for col in columns:
                  if not isinstance(col, str):
                      raise ValueError("The parameter {} must be list of str.".format(columns_name))
          else:
              raise ValueError("The parameter {} must be list of str.".format(columns_name))
function_tokens: def _check_columns ( self , columns , columns_name ) : if not columns : return if isinstance ( columns , list ) : for col in columns : if not isinstance ( col , str ) : raise ValueError ( "The parameter {} must be list of str." . format ( columns_name ) ) else : raise ValueError ( "The parameter {} must be list of str." . format ( columns_name ) )