bcicen / wikitables

Import tables from any Wikipedia article as a dataset in Python
MIT License
292 stars 34 forks source link

Dealing with missing fields #27

Closed 3droj7 closed 5 years ago

3droj7 commented 5 years ago

When there's a table that missing a field, it skips over the field and puts inside the value of the second field instead.

The missing field's value should be None. Right now it gives it values of other fields (that are not missing)

(For example, the table from https://en.wikipedia.org/wiki/Comparison_of_instruction_set_architectures)

bcicen commented 5 years ago

Fix for handling empty/whitespace fields pushed in https://github.com/bcicen/wikitables/commit/4216072657a9c77dd289fb4d97cb03998b9da443 and now included in the latest release