TST: add test for DataReader class and fix failing network tests for good
Merge pull request #4054 from cpcloud/fix-failing-data-py-tests

TST/BUG: fix failing data.py tests for good
PERF: optimize iloc for unique case