test
Browse files- LongConL.py +1 -1
LongConL.py
CHANGED
|
@@ -83,7 +83,7 @@ class LongConLDataset(datasets.GeneratorBasedBuilder):
|
|
| 83 |
"""Generate examples from the dataset CSV."""
|
| 84 |
data = pd.read_csv(file_path)
|
| 85 |
print("Data loaded from file:", file_path)
|
| 86 |
-
|
| 87 |
data_dict = data.to_dict(orient="records")
|
| 88 |
|
| 89 |
for id_, row in enumerate(data_dict):
|
|
|
|
| 83 |
"""Generate examples from the dataset CSV."""
|
| 84 |
data = pd.read_csv(file_path)
|
| 85 |
print("Data loaded from file:", file_path)
|
| 86 |
+
print(data.head()) # Display first few rows
|
| 87 |
data_dict = data.to_dict(orient="records")
|
| 88 |
|
| 89 |
for id_, row in enumerate(data_dict):
|