read table with two header rows
tischi opened this issue · 3 comments
tischi commented
Hi,
I have a table that looks like this:
Image, Image
Count1, Count2
100, 100
150, 170
... , ...
I would need to open it with column names: Image_Count1
, Image_Count2
That is concatenate the first two rows into one header.
Is that possible?
Thanks!
aadrian commented
@tischi for this you need to do two steps. In the first one just get the raw data and transform it. Than in step two only use from the new format.
tischi commented
just get the raw data and transform it
Thanks! You mean opening the whole file as one big String or is there something in tablesaw that I could use?
lwhite1 commented
I would read it line by line and just combine the first two lines when you
write
…On Fri, Apr 21, 2023 at 8:47 AM Christian Tischer ***@***.***> wrote:
just get the raw data and transform it
Thanks! You mean opening the whole file as one big String or is there
something in tablesaw that I could use?
—
Reply to this email directly, view it on GitHub
<#1204 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA2FPARKCDDMRLCNNFUOWY3XCJ6U3ANCNFSM6AAAAAAXFEVSDI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>