I pull stock information from quantmod and it returns a xts object, where the index is the date that each row's data corresponds to. How can I convert the index into a column? I attached a screenshot of the data frame's first 6 rows.
EDIT: Different than How can I change XTS to data.frame and keep Index? because this question is from the prospective of a user who think the data is stored in a data.frame. Potentially useful question for the uninformed or novice.