modifying a pandas dataframe

by: whorticulturist, 7 years ago


So I have a data frame that has a row with a bunch of entries in it that I want to turn into their own rows.
It look a little like this

POSCHEM11_1_Layers...POSCHEM11_6_Layers......POSCHEM88_6_Layers

The first set of numbers indicate a 8x8 matrix entry and the second number represents the idex number of one the chemicals being used in the experiment. I need to find a way turn each of the matrix entries(with the six layer columns) into their own row. If anyone has any suggestions it would be greatly appreciated. Also If you need anymore information let me know. I'm a little new to this whole forum thing.  



You must be logged in to post. Please login or register an account.