pyexcel.get_dict

pyexcel.get_dict(name_columns_by_row=0, **keywords)[source]

Obtain a dictionary from an excel source

It accepts the same parameters as get_sheet() but return a dictionary instead.

Specifically: :param name_columns_by_row: specify a row to be a dictionary key. It is default to 0 or first row.

If you would use a column index 0 instead, you should do:

get_dict(name_columns_by_row=-1, name_rows_by_column=0)