Upload musk.py
Browse files
musk.py
CHANGED
|
@@ -401,8 +401,8 @@ class Musk(datasets.GeneratorBasedBuilder):
|
|
| 401 |
def _generate_examples(self, filepath: str):
|
| 402 |
data = pandas.read_csv(filepath, header=None)
|
| 403 |
data.columns = _BASE_FEATURE_NAMES
|
| 404 |
-
data
|
| 405 |
-
data
|
| 406 |
|
| 407 |
for row_id, row in data.iterrows():
|
| 408 |
data_row = dict(row)
|
|
|
|
| 401 |
def _generate_examples(self, filepath: str):
|
| 402 |
data = pandas.read_csv(filepath, header=None)
|
| 403 |
data.columns = _BASE_FEATURE_NAMES
|
| 404 |
+
data.drop("name", axis="columns", inplace=True)
|
| 405 |
+
data.drop("conformation_name", axis="columns", inplace=True)
|
| 406 |
|
| 407 |
for row_id, row in data.iterrows():
|
| 408 |
data_row = dict(row)
|