Class translation from R to Python via HDF5r

General Question

I am trying to make an h5 file with attributes in R to match a file I have been shown but I don't know if the syntax is translated between languages. As far as I understand a list in python is indicated by []'s, so a numeric list would look like this: [56.08 24.987 32.1]. So if I pass a list from R into the HDF5r package to create an attribute and then hand it to Python, will python see it as a list? Or do I need to make the object a character string to look identical to the above python list?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.