delph-in / pydelphin

Python libraries for DELPH-IN
https://pydelphin.readthedocs.io/
MIT License
79 stars 27 forks source link

Further simplify delphin.tsdb module #258

Open goodmami opened 4 years ago

goodmami commented 4 years ago

For purposes of type-checking (which help to reveal actual bugs), the delphin.tsdb module could be made simpler. Mainly this has to do with function parameters that change the structure of the thing that is returned. For instance:

Then there would be separate functions for casting or formatting all columns in a record.

These are backwards-incompatible changes, so either they need to be done with different names or wait until v2.0.