Datasets:
Upload ozone.py
Browse files
ozone.py
CHANGED
@@ -290,7 +290,6 @@ class Ozone(datasets.GeneratorBasedBuilder):
|
|
290 |
|
291 |
def _generate_examples(self, filepath: str):
|
292 |
data = pandas.read_csv(filepath)
|
293 |
-
print(data.head())
|
294 |
data.drop("Date", axis="columns", inplace=True)
|
295 |
data.loc[:, "Class"] = data.Class.astype(int)
|
296 |
data = data[~(data.isin(["?"]).any(axis=1))]
|
|
|
290 |
|
291 |
def _generate_examples(self, filepath: str):
|
292 |
data = pandas.read_csv(filepath)
|
|
|
293 |
data.drop("Date", axis="columns", inplace=True)
|
294 |
data.loc[:, "Class"] = data.Class.astype(int)
|
295 |
data = data[~(data.isin(["?"]).any(axis=1))]
|