FadiMoubayed / CB-Parser

Parses Carl Büttner's data and converts it to csv format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CB-Parser

Parses Carl Büttner's data Excel sheets and converts them to csv format

Procedure

  • Read the Excel sheet as a dataframe using Pandas and properly rename the columns (Remove the spaces)
  • Get the first valid value of the first column. This value is used to remove the empty rows at the beginning of the dataframe
  • Drop the NA values in the dataframe and only keep the valid values
  • Save the result to a csv file

Second parser

How to use

In terminal type:

python3 name_of_the_script.py path_to_excel_files

Example:

python3 parse_excel_files.py ./Excel_Files/

About

Parses Carl Büttner's data and converts it to csv format


Languages

Language:Python 100.0%