bw2io.strategies.csv#

Module Contents#

Functions#

csv_add_missing_exchanges_section(data)

csv_drop_unknown(data)

Drop keys whose values are (Unknown).

csv_numerize(data)

Turns strings into numbers where possible

csv_restore_booleans(data)

Turn True and False into proper booleans, where possible

csv_restore_tuples(data)

Restore tuples separated by :: string

bw2io.strategies.csv.csv_add_missing_exchanges_section(data)[source]#
bw2io.strategies.csv.csv_drop_unknown(data)[source]#

Drop keys whose values are (Unknown).

bw2io.strategies.csv.csv_numerize(data)[source]#

Turns strings into numbers where possible

bw2io.strategies.csv.csv_restore_booleans(data)[source]#

Turn True and False into proper booleans, where possible

bw2io.strategies.csv.csv_restore_tuples(data)[source]#

Restore tuples separated by :: string