Pulls the contents of the RDD to the driver and places them in a Pandas DataFrame.
        
        Each record in the RDD becomes and column, and the DataFrame is indexed with a
        DatetimeIndex generated from this RDD's index.

def to_pandas_dataframe(self):
        """
        Pulls the contents of the RDD to the driver and places them in a Pandas DataFrame.
        
        Each record in the RDD becomes and column, and the DataFrame is indexed with a
        DatetimeIndex generated from this RDD's index.
        """
        pd_index = self.index().to_pandas_index()
        return pd.DataFrame.from_items(self.collect()).set_index(pd_index)