bw2io.export.excel
#
Module Contents#
Functions#
|
Exclude invalid characters and names. |
|
Fake docstring |
|
Export database database_name to an Excel spreadsheet. |
|
Write matched and unmatched exchanges to Excel file |
|
Write matched and unmatched CFs to Excel file |
- bw2io.export.excel.create_valid_worksheet_name(string)[source]#
Exclude invalid characters and names.
Data from http://www.accountingweb.com/technology/excel/seven-characters-you-cant-use-in-worksheet-names.
- bw2io.export.excel.lci_matrices_to_excel(database_name, include_descendants=True)[source]#
Fake docstring
- bw2io.export.excel.write_lci_excel(database_name, objs=None, sections=None)[source]#
Export database database_name to an Excel spreadsheet.
Not all data can be exported. The following constraints apply:
Nested data, e.g. {‘foo’: {‘bar’: ‘baz’}} are excluded. Spreadsheets are not a great format for nested data. However, tuples are exported, and the characters :: are used to join elements of the tuple.
The only well-supported data types are strings, numbers, and booleans.
Returns the filepath of the exported file.