Datasets:
Upload musk.py
Browse files
musk.py
CHANGED
@@ -276,7 +276,8 @@ class Musk(datasets.GeneratorBasedBuilder):
|
|
276 |
]
|
277 |
|
278 |
def _generate_examples(self, filepath: str):
|
279 |
-
data = pandas.read_csv(filepath)
|
|
|
280 |
data = data.drop("name", axis="columns", inplace=True)
|
281 |
data = data.drop("conformation_name", axis="columns", inplace=True)
|
282 |
|
|
|
276 |
]
|
277 |
|
278 |
def _generate_examples(self, filepath: str):
|
279 |
+
data = pandas.read_csv(filepath, header=None)
|
280 |
+
data.columns = _BASE_FEATURE_NAMES
|
281 |
data = data.drop("name", axis="columns", inplace=True)
|
282 |
data = data.drop("conformation_name", axis="columns", inplace=True)
|
283 |
|