Do not use binary read mode

Change-Id: I40f8923d0790c00e842e5d7d749b86bf1a7f8102
This commit is contained in:
Wes McKinney committed 2018-08-17 23:07:23 -04:00
1 parent dd45620473
commit c51a77f117
1 file changed
+2 -2
+2 -2
View File
@@ -128,9 +128,9 @@ def check_example_using_json(example_name):
# Read JSON file
json_path = path_for_json_example(example_name)
if json_path.endswith('.gz'):
f = gzip.open(json_path, 'rb')
f = gzip.open(json_path, 'r')
else:
f = open(json_path, 'rb')
f = open(json_path, 'r')
table = pd.read_json(f, lines=True)