python/ray/tune/analysis/experiment_analysis.py
def results_df(self) -> DataFrame:
        """Get all the last results as a pandas dataframe."""
        if not pd:
            raise ValueError(
                "`results_df` requires pandas. Install with `pip install pandas`."
            )
        return pd.DataFrame.from_records(
            [
                flatten_dict(trial.last_result, delimiter=self._delimiter())
                for trial in self.trials
            ],
            index="trial_id",
        )
Get all the last results as a pandas dataframe.
Get all the last results as a pandas dataframe.
Get all the last results as a pandas dataframe .
def results_df(self) -> DataFrame:
        if not pd:
            raise ValueError(
                "`results_df` requires pandas. Install with `pip install pandas`."
            )
        return pd.DataFrame.from_records(
            [
                flatten_dict(trial.last_result, delimiter=self._delimiter())
                for trial in self.trials
            ],
            index="trial_id",
        )
def results_df ( self ) -> DataFrame : if not pd : raise ValueError ( "`results_df` requires pandas. Install with `pip install pandas`." ) return pd . DataFrame . from_records ( [ flatten_dict ( trial . last_result , delimiter = self . _delimiter ( ) ) for trial in self . trials ] , index = "trial_id" , )
Get all the last results as a pandas dataframe.
Get all the last results as a pandas dataframe .
"""Get all the last results as a pandas dataframe."""
self