class_docstr: _Col class. It refers to a column of a dataframe.
class_docstr_tok: ["_Col","class",".","It","refers","to","a","column","of","a","dataframe","."]
docstr: Check if the column is of type number.
  
  Args:
      df: The dataframe from which to check the column's type.
docstr_tok: ["Check","if","the","column","is","of","type","number",".","Args",":","df",":","The","dataframe","from","which","to","check","the","column","'s","type","."]
code: def is_number(self, df: pd.DataFrame) -> bool:
      """Check if the column is of type number.
  
      Args:
          df: The dataframe from which to check the column's type.
      """
      col_type = df[self.colname].dtype
      return np.issubdtype(col_type, np.number)
  
imports: import warnings
  import numpy
  import pandas
  from typing import Any, Hashable, List, Optional, Tuple, Type, Union
label_desc: Use image node_id 4 for calling the _Col obj's underlying member method code with example usage: obj.is_number(df) and returns: np