python3 update
here are changes that are not compatible in py2 and py3, i use six to keep compatibility
Changes
-
Data Mappingcan'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,tupleandlistTypeError: '<' not supported between instances of 'tuple' and 'list'i think it's hard to make it supported, so only update test for now
-
use
sixto keep compatibility inpy2&3i.e. useif six.PY2 ... else ... -
df.to_recordshas no moreconvert_datetime64parameter in recentpandasso i remove this parameter in test, the tests are always passed :)