Skip to content Skip to sidebar Skip to footer

Access Column With In Another Column Header

I opened a .mat file in python. I can see that there is one main column named 'CloudData' within the CloudData there are two columns 'Points' and 'RGB'. I can access the Points col

Solution 1:

From what you wrote it looks to me that you should access RGB with

channel_data = (data['CloudData']['RGB'][0:1])

or

channel_data = (data['CloudData']['RGB']['data_values'][0:1])

depending on how you .mat file is constructed in matlab.

Post a Comment for "Access Column With In Another Column Header"