def data(self):
        
        df = pd.DataFrame(self._data).T # convert from dictionary to a  DataFrame, transpose
        df.columns = self._header        
        
        return df
return internal data as a pandas DataFrame
dataset/ETHPy150Open sjev/trading-with-python/lib/interactiveBrokers/handlers.py/Portfolio.data