original_string: public function getPastRowFromCurrent(Row $row)
      {
          $pastData = $this->getPastDataTable();
          if (empty($pastData)) {
              return null;
          }
  
          $label = $row->getColumn('label');
          return $label ? $pastData->getRowFromLabel($label) : $pastData->getFirstRow();
      }
code: public function getPastRowFromCurrent(Row $row)
      {
          $pastData = $this->getPastDataTable();
          if (empty($pastData)) {
              return null;
          }
  
          $label = $row->getColumn('label');
          return $label ? $pastData->getRowFromLabel($label) : $pastData->getFirstRow();
      }
code_tokens: public function getPastRowFromCurrent ( Row $ row ) { $ pastData = $ this -> getPastDataTable ( ) ; if ( empty ( $ pastData ) ) { return null ; } $ label = $ row -> getColumn ( 'label' ) ; return $ label ? $ pastData -> getRowFromLabel ( $ label ) : $ pastData -> getFirstRow ( ) ; }
docstring: public for Insights use.
docstring_tokens: public for Insights use .