CybercentreCanada / jupyterlab-sql-editor

A JupyterLab extension providing, SQL formatter, auto-completion, syntax highlighting, Spark SQL and Trino
BSD 3-Clause "New" or "Revised" License
83 stars 13 forks source link

better timestamp formatting #138

Closed cccs-nik closed 10 months ago

cccs-nik commented 10 months ago

Improving the timestamp formatting for every other output other than json. numpy datetimes would convert to integers when .tolist() was used on the numpy array. Now we convert the numpy datetimes to pandas datetimes since it converts and prints out nicely afterwards. Also fixed some oversights for json int to string casting