We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78cb8c0 commit 0d6ee19Copy full SHA for 0d6ee19
mglearn/datasets.py
@@ -6,7 +6,7 @@
6
from sklearn.preprocessing import MinMaxScaler, PolynomialFeatures
7
from .make_blobs import make_blobs
8
9
-DATA_FOLDER = os.path.join(os.path.dirname(__file__), "..", "data")
+DATA_PATH = os.path.join(os.path.dirname(__file__), "..", "data")
10
11
12
def make_forge():
@@ -37,7 +37,7 @@ def load_extended_boston():
37
38
39
def load_citibike():
40
- data_mine = pd.read_csv(os.path.join(DATA_FOLDER, "citibike.csv"))
+ data_mine = pd.read_csv(os.path.join(DATA_PATH, "citibike.csv"))
41
data_mine['one'] = 1
42
data_mine['starttime'] = pd.to_datetime(data_mine.starttime)
43
data_starttime = data_mine.set_index("starttime")
0 commit comments