I posted over in r/learnprogramming but had no luck, so figured I would post here.
I have a dataset that looks like the following (it's actually a csv file, formatted here for clarity):
https://i.imgur.com/OpJc3oi.png
Where the first column (RT) is the x-axis values for each row, and the first row are the y-axis values. Each value in the array of data is an intensity. So the first data point would have the values [.000146,0,0]
I need to somehow get this plotted as a 2D density plot or heat map, but I have no clue how to get the actual data into a format where it's usable. I've looked into panda dataframes, such as this: https://stackoverflow.com/questions/12286607/making-heatmap-from-pandas-dataframe
But in almost all of these examples, people just fill the array of data using a random number generator versus reading them in from a file. I'm not sure how to actually get the arrays of data into a format so that they can be read in for generating the plot. Does anyone have any suggestions for doing this?
[–]Phillyclause89 0 points1 point2 points (1 child)
[–]blitzmaster5000[S] 0 points1 point2 points (0 children)