docstr: Method to read file with pandas
  
  :return DataFrame with file lines
docstr_tok: ["Method","to","read","file","with","pandas",":","return","DataFrame","with","file","lines"]
code: def read_with_pandas(self):
      """
      Method to read file with pandas
  
      :return DataFrame with file lines
  
      """
  
      df = pd.read_csv(
          self.input_file,
          sep=self.sep,
          skiprows=self.header,
          header=None,
          names=self.names,
      )
  
      if self.header is not None:
          df.columns = [i for i in range(len(df.columns))]
  
      if self.as_binary:
          df.iloc[:, self.binary_col] = 1
      return df.sort_values(by=[0, 1])
  
file_path: CaseRecommender/caserec/utils/process_data.py
imports: import pandas
  from caserec.utils.extra_functions import check_error_file
label_desc: Use image node_id 5 for calling the ReadFile obj's underlying member method code with example usage: obj.read_with_pandas() and returns: df