I'm trying to manipulate some CSV data, and normally I would use pandas when I have complex changes. However I have no idea how to deal with nested key values inside one or more CSV fields.
So in essence I have data like this,
+------+------+-------------------+------+------+
| col1 | col2 | col3 | col4 | col5 |
+------+------+-------------------+------+------+
| v | v | ncol1=nv,ncol2=nv | v | v |
+------+------+-------------------+------+------+
| v | v | ncol3=nv | v | v |
+------+------+-------------------+------+------+
| v | v | | v | v |
+------+------+-------------------+------+------+
And I'm trying to get something like,
+------+------+-------+-------+-------+------+------+
| col1 | col2 | ncol1 | ncol2 | ncol3 | col4 | col5 |
+------+------+-------+-------+-------+------+------+
| v | v | nv | nv | | v | v |
+------+------+-------+-------+-------+------+------+
| v | v | | | nv | v | v |
+------+------+-------+-------+-------+------+------+
| v | v | | | | v | v |
+------+------+-------+-------+-------+------+------+