qri-io / starlib

qri's standard library for starlark
MIT License
113 stars 29 forks source link

feat(dataframe): First class support for timestamp values #163

Closed dustmop closed 2 years ago

dustmop commented 2 years ago

Dataframe and Series now allow time.Time objects. Can be added as values, instead of needing to be represented as strings. Timestamps are now stored as ints, using the dtype 'datetime64[ns]'.

The astype method no longer needs to parse when converting ints to timestamps or vice versa.