I'm reading a CSV file that have two columns: continent, countries. The cells are empty under each continents.
Continent | Countries
-----------------------------
Asia | China
| Japan
| Korea
North Am. | Canada
| U.S.
but I would like to merge these two columns under Continent column and have an indentation.
Continent
-----------
Asia
China
Japan
Korea
North America
Canada
U.S.
How can I do this using python?