2D to 3D numpy array by blocks
2D to 3D numpy array by blocks Question: I have the following 2D dataframe conc corresponding to gas concentrations on 4 layers at a series of wavelengths wl : conc = wl gas1 gas2 gas3 layer 0 5000 10 13 250 1 1 5000 20 14 260 2 2 5000 30 15 270 3 3 …