Spaces:
Sleeping
Sleeping
Commit
·
bc24b49
1
Parent(s):
06b9a9c
Update dictionary_lookup/helper/loaddata.py
Browse files
dictionary_lookup/helper/loaddata.py
CHANGED
@@ -18,7 +18,7 @@ class Data:
|
|
18 |
|
19 |
print("Loading dataset hosted on Github")
|
20 |
|
21 |
-
data = rq.get(self.file_path
|
22 |
return pd.read_csv(BytesIO(data))
|
23 |
|
24 |
# read file from disk in chunks
|
|
|
18 |
|
19 |
print("Loading dataset hosted on Github")
|
20 |
|
21 |
+
data = rq.get(self.file_path).content
|
22 |
return pd.read_csv(BytesIO(data))
|
23 |
|
24 |
# read file from disk in chunks
|