Update main_cyberbully_splitted.py
Browse files
main_cyberbully_splitted.py
CHANGED
@@ -58,7 +58,7 @@ class NG(datasets.GeneratorBasedBuilder):
|
|
58 |
"""Generate examples."""
|
59 |
with open(filepath, encoding="utf-8") as csv_file:
|
60 |
csv_reader = csv.reader(
|
61 |
-
csv_file, quotechar='"', delimiter="
|
62 |
)
|
63 |
_ = next(csv_reader) # skip header
|
64 |
for id_, row in enumerate(csv_reader):
|
|
|
58 |
"""Generate examples."""
|
59 |
with open(filepath, encoding="utf-8") as csv_file:
|
60 |
csv_reader = csv.reader(
|
61 |
+
csv_file, quotechar='"', delimiter=",", quoting=csv.QUOTE_ALL, skipinitialspace=True
|
62 |
)
|
63 |
_ = next(csv_reader) # skip header
|
64 |
for id_, row in enumerate(csv_reader):
|