ImperialCollegeLondon / pycsvy

Python reader/writer for CSV files with YAML header information
BSD 3-Clause "New" or "Revised" License
6 stars 7 forks source link

No sort keys in header by default #4

Closed dalonsoa closed 2 years ago

dalonsoa commented 2 years ago

The default behaviour of yaml.safe_dump is to sort the keys in the dictionary, but chances are that is not the default behaviour we want here. It should be change such that the order in which data is written is the same than in the header dictionary.