Another way to deal with Behavior Space output as a list is to split the list up in Excel using a macro.
In most cases getting this working is more work than other suggestions, but it might be worth it if you
need to parse the output many times AND you are comfortable working with macros in Excel.
How this works:
If you save an Excel macro in the very special file PERSONAL.XLSB once it will then be available to all Excel macros
on your computer from then on, so you do NOT need to put it into any csv file that Behavior Space generates. It will automatically be in the list of macros available to you.
If you generate the variable that generates a list as your last variable in Behavior Space, so it is the rightmost column in the csv file, the attached macro can unpack the lists to the columns to the right and optionally add a header row.
You just need to\ open your csv excel file ( "experiment-table.csv", say), click to select the topmost cell containing a list, and type CTRL-SHIFT-Y to run the macro. It will ask if you want headers generated as well.
It also does an emergency stop after 10,001 rows, just in case you edit the macro and leave something
out since it can be a problem to stop a macro that's in an infinite loop -- so if you expect over 10,000 rows of
output you need to up that number in the macro. The optional column header is "TCxxxx" where xxxx starts at zero
and counts up. You can edit that in the macro as well if you want something else.
Attached is a sample csv file before running the macro, after clicking to select cell D8 ( containing "[7 5 0 7 4]"), running the macro using CTRL-SHIFT-Y, and the macro itself.
Again, this is probably overkill for most cases, but variations on this template might help someone with something someday!
Feel free to copy, modify, or otherwise use as you like. I'm sure the VBA could be cleaner but this seems to work.
Wade