class_docstr: Convert a pandas DataFrame to a suitable VW format.
  Instances of this class are built with classes such as SimpleLabel,
  MulticlassLabel, Feature or Namespace.
  
  The class also provided a convenience constructor to initialize the class
  based on the target/features column names only.
class_docstr_tok: ["Convert","a","pandas","DataFrame","to","a","suitable","VW","format",".","Instances","of","this","class","are","built","with","classes","such","as","SimpleLabel",",","MulticlassLabel",",","Feature","or","Namespace",".","The","class","also","provided","a","convenience","constructor","to","initialize","the","class","based","on","the","target\/features","column","names","only","."]
docstr: Check if namespaces arguments are of type Namespace.
  
  Raises:
      TypeError: If namespaces are not of type Namespace or list of Namespace.
docstr_tok: ["Check","if","namespaces","arguments","are","of","type","Namespace",".","Raises",":","TypeError",":","If","namespaces","are","not","of","type","Namespace","or","list","of","Namespace","."]
code: def check_namespaces_type(self):
      """Check if namespaces arguments are of type Namespace.
  
      Raises:
          TypeError: If namespaces are not of type Namespace or list of Namespace.
      """
      wrong_type_namespaces = [
          not isinstance(namespace, Namespace)
          for namespace in self.namespaces
      ]
      if any(wrong_type_namespaces):
          raise TypeError(
              "Argument 'namespaces' should be a Namespace or a list of Namespace."
          )
  
imports: import warnings
  import numpy
  import pandas
  from typing import Any, Hashable, List, Optional, Tuple, Type, Union
label_desc: Use image node_id 7 for calling the DFtoVW obj's underlying member method code with example usage: obj.check_namespaces_type() without return types