Ubuntu – ValueError: Columns must be same length as key – when working on one row only
I am trying to add columns to the DataFrame based on the splitting of one column. With two rows, everything works and the empty column takes the value 'None'. The problem when I only have one row and the DataFrame…