Data #57
Data
#57
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Appreciate guidance on the data transformation. My data is in vector of tuples, which contains f64 and String. Example data is
[(275.0, 4000.0, 1.0, "A"), (210.0, 3800.0, 2.0, "B")]
, whereby each tuple represent axis_x, axis_y, size, and label respectively. I struggle to convert this to dataframe format viadf!
or use it directly in the chart.If I use it as it is, I got error below. This is probably expected as charming expects vector of vectors. However, a vector must have same data type, thus this can only be achieved using tuple for my case.
If I use df!, I got error below.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions