Gets data to pandas