I have a dataframe with lists of stocks and stock data. In the picture I show the names of example stocks and data. Within each stock in the list are the dates, openings, highs, lows and close. All I want is the close merged with the dates in a single simple merged dataframe. I don't know how to do this, and I've drawn up with a picture to best describe what I want. Feel free to use mtcars data frame for the example.
The names I have are awkward. I want them renamed. for example the names in the list are:["c/user/Tim/R/Tesla.csv"]. I would like them to be renamed what they simply are, for example Tesla, Google (as shown in the picture below) in the dataframe table. If you know how to code to get rid of ["c/user/Tim/R/"] and [".csv"] in all the names in the dataframe table, that would be greatly obliged.
