From 87df10707c4496f8644f56037283a80fdbd244d3 Mon Sep 17 00:00:00 2001 From: Neil Lawrence Date: Sun, 3 Dec 2017 09:56:14 -0800 Subject: [PATCH] Change dtype for Python 3 in robot_wirelss --- GPy/util/datasets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPy/util/datasets.py b/GPy/util/datasets.py index f8fa8239..035f7b75 100644 --- a/GPy/util/datasets.py +++ b/GPy/util/datasets.py @@ -622,7 +622,7 @@ def robot_wireless(data_set='robot_wireless'): download_data(data_set) file_name = os.path.join(data_path, data_set, 'uw-floor.txt') all_time = np.genfromtxt(file_name, usecols=(0)) - macaddress = np.genfromtxt(file_name, usecols=(1), dtype='string') + macaddress = np.genfromtxt(file_name, usecols=(1), dtype=str) x = np.genfromtxt(file_name, usecols=(2)) y = np.genfromtxt(file_name, usecols=(3)) strength = np.genfromtxt(file_name, usecols=(4))