you want to create a csv with 7 columns on the header and 10 columns on the data? that's fairly non standard.
most consumer would error trying to read this.
you could perhaps write the header line first with a row of 7 values which are your 7 headers at the start of the pipeline, then append the data with the csv formatter, without headers.
again though, are you sure this is what is required?