def _asdict(self):
    return {
        'status': self._state.name,
        'record': self.record,
        'phase_data': self.phase_data,
        'running_phase_record': self.running_phase_record,
        'pending_phases': [(phase.func.__name__, phase.func.__doc__)
                           for phase in self.pending_phases]}
Highlight the min or max in a Series or DataFrame
dataset/ETHPy150Open google/openhtf/openhtf/exe/test_state.py/TestState._asdict--crossover with--dataset/ETHPy150Open pydata/pandas/pandas/formats/style.py/Styler._highlight_extrema