Blosc / bcolz

A columnar data container that can be compressed.
http://bcolz.blosc.org
959 stars 149 forks source link

Fix compatibility issue of xrange func in ctable tutorial notebook. #396

Closed bingyao closed 5 years ago

bingyao commented 5 years ago

Changes made in this PR:

xrange is no longer existed in Python 3, to make PY2 & PY3 compatible for running docs/tutorial_ctable.ipynb, I made an alias for xrange function in PY2:

import sys
if sys.version_info[0] == 2:
    range = xrange
coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.02%) to 66.872% when pulling 63a890e1ce36628ce2ae9250370c73da14ea1bfa on bingyao:doc_tutorial_ctable_compatible_fix into 00044a1f26b174eef78bd46b8b36da90ee017173 on Blosc:master.

FrancescAlted commented 5 years ago

LGTM. Thanks!