def _to_DataFrame(self):
    'Returns all of the channels parsed from the file as a pandas DataFrame'
    import pandas as pd
    time_index = pd.to_timedelta([f[0] for f in self._motions], unit='s')
    frames = [f[1] for f in self._motions]
    channels = np.asarray([[channel[2] for channel in frame] for frame in frames])
    column_names = [('%s_%s' % (c[0], c[1])) for c in self._motion_channels]
    return pd.DataFrame(data=channels, index=time_index, columns=column_names)
Returns all of the channels parsed from the file as a pandas DataFrame
def _to_DataFrame(self):
    
    import pandas as pd
    time_index = pd.to_timedelta([f[0] for f in self._motions], unit='s')
    frames = [f[1] for f in self._motions]
    channels = np.asarray([[channel[2] for channel in frame] for frame in frames])
    column_names = [('%s_%s' % (c[0], c[1])) for c in self._motion_channels]
    return pd.DataFrame(data=channels, index=time_index, columns=column_names)