original_docstring: 
          Specialized class method for creating a LineList object from a Pandas Dataframe. This method is called by
          the AssignmentSession.df2ulines function to generate a Peaks LineList during peak detection.
  
          Parameters
          ----------
          dataframe: pandas DataFrame
              DataFrame containing frequency and intensity information
          freq_col: str, optional
              Name of the frequency column
          int_col: str, optional
              Name of the intensity column
          kwargs
              Optional settings are passed into the creation of Transition objects.
  
          Returns
          -------
          LineList
          
docstring: Specialized class method for creating a LineList object from a Pandas Dataframe. This method is called by
  the AssignmentSession.df2ulines function to generate a Peaks LineList during peak detection.
  
  Parameters
  
  pandas DataFrame
  DataFrame containing frequency and intensity information
  freq_col: str, optional
  Name of the frequency column
  int_col: str, optional
  Name of the intensity column
  kwargs
  Optional settings are passed into the creation of Transition objects.
  
  Returns
  
  
docstring_tokens: Specialized class method for creating a LineList object from a Pandas Dataframe . This method is called by the AssignmentSession . df2ulines function to generate a Peaks LineList during peak detection . Parameters pandas DataFrame DataFrame containing frequency and intensity information freq_col : str optional Name of the frequency column int_col : str optional Name of the intensity column kwargs Optional settings are passed into the creation of Transition objects . Returns
code: def from_dataframe(
          cls,
          dataframe: pd.DataFrame,
          name="Peaks",
          freq_col="Frequency",
          int_col="Intensity",
          **kwargs,
      ):
          """
          Specialized class method for creating a LineList object from a Pandas Dataframe. This method is called by
          the AssignmentSession.df2ulines function to generate a Peaks LineList during peak detection.
  
          Parameters
          ----------
          dataframe: pandas DataFrame
              DataFrame containing frequency and intensity information
          freq_col: str, optional
              Name of the frequency column
          int_col: str, optional
              Name of the intensity column
          kwargs
              Optional settings are passed into the creation of Transition objects.
  
          Returns
          -------
          LineList
          """
          vfunc = np.vectorize(Transition)
          transitions = vfunc(
              frequency=dataframe[freq_col],
              intensity=dataframe[int_col],
              uline=True,
              **kwargs,
          )
          linelist_obj = cls(name=name, transitions=list(transitions), source="Peaks")
          return linelist_obj
code_tokens: def from_dataframe ( cls , dataframe : pd . DataFrame , name = "Peaks" , freq_col = "Frequency" , int_col = "Intensity" , ** kwargs , ) : vfunc = np . vectorize ( Transition ) transitions = vfunc ( frequency = dataframe [ freq_col ] , intensity = dataframe [ int_col ] , uline = True , ** kwargs , ) linelist_obj = cls ( name = name , transitions = list ( transitions ) , source = "Peaks" ) return linelist_obj
short_docstring: Specialized class method for creating a LineList object from a Pandas Dataframe.
short_docstring_tokens: Specialized class method for creating a LineList object from a Pandas Dataframe .
comment: """
          Specialized class method for creating a LineList object from a Pandas Dataframe. This method is called by
          the AssignmentSession.df2ulines function to generate a Peaks LineList during peak detection.
  
          Parameters
          ----------
          dataframe: pandas DataFrame
              DataFrame containing frequency and intensity information
          freq_col: str, optional
              Name of the frequency column
          int_col: str, optional
              Name of the intensity column
          kwargs
              Optional settings are passed into the creation of Transition objects.
  
          Returns
          -------
          LineList
          """