lasio icon indicating copy to clipboard operation
lasio copied to clipboard

Date handling in docs is misleading

Open kinverarity1 opened this issue 1 year ago • 1 comments

Describe the bug This section of the documentation that illustrates how lasio handles date and/or timestamps by default is misleading: https://lasio.readthedocs.io/en/v0.30/data-section.html#handling-text-dates-timestamps-or-any-non-numeric-characters

To Reproduce The only reason this is handled well is because the date code has a letter adjacent to the hyphen e.g. 01-Jan-20. If it is an entirely numeric code, it does not work by default e.g. 2020-01-18 splits into new columns based on the hyphen, due to the default regexp substitutions.

Expected behavior The documentation should be more representative (pending a more comprehensive and appropriate default behaviour) e.g. show how to use the dtypes argument.

kinverarity1 avatar Sep 16 '22 01:09 kinverarity1

Note #530 should fix the underlying error and therefore the documentation can remain unchanged

kinverarity1 avatar Sep 16 '22 03:09 kinverarity1