Search
1 results for “gdmcbain”
-
Parsing CSV with units in the header · Issue #166 · hgrecco/pint-pandas
https://github.com/hgrecco/pint-pandas/issues/166
Now we can read a #csv file with a header like `time / s,mass / g` into #pandas and call `.pint.quantify()` to get a #dataframe in which the columns have #units as in #Pints !
Handy for CSV restricted to single-row headers, as in Confluence Databases and Microsoft Lists.