python3 update
here are changes that are not compatible in py2
and py3
, i use six
to keep compatibility
Changes
-
Data Mapping
can't support different data type inside nowif you first push
list
, thentuple
, it will raise errorthe reason is Data Mapping use BTrees (like OLBTree from Zope/BTrees package) which use keys that must be comparable with < because they are internally stored in a sorted structure.
but in
py3
, it raise error when compare between different types, for example,tuple
andlist
TypeError: '<' not supported between instances of 'tuple' and 'list'
i think it's hard to make it supported, so only update test for now
-
use
six
to keep compatibility inpy2&3
i.e. useif six.PY2 ... else ...
-
df.to_records
has no moreconvert_datetime64
parameter in recentpandas
so i remove this parameter in test, the tests are always passed :)