Saturday 6 October 2018

Hint: conda clean ... and free 2GB

I often use conda to install packages. I was happy to learn that:
    conds clean -a
cleaned unnecessary files that had gathered as time passed and I did upgrades etc.

An easy way to free 2 GB in my case.

Wednesday 19 September 2018

Surprise: Pandas and 584 years

Timestamp Limitations

Since pandas represents timestamps in nanosecond resolution, the time span that can be represented using a 64-bit integer is limited to approximately 584 years:
In [68]: pd.Timestamp.min
Out[68]: Timestamp('1677-09-21 00:12:43.145225')

In [69]: pd.Timestamp.max
Out[69]: Timestamp('2262-04-11 23:47:16.854775807')