Spaces:
Sleeping
Sleeping
Update custom_utils.py
Browse files- custom_utils.py +2 -2
custom_utils.py
CHANGED
@@ -35,7 +35,7 @@ def process_records(data_frame):
|
|
35 |
|
36 |
# Handle potential NaT values
|
37 |
for record in records[:3]:
|
38 |
-
print(
|
39 |
for key, value in record.items():
|
40 |
print("###")
|
41 |
print(key)
|
@@ -46,7 +46,7 @@ def process_records(data_frame):
|
|
46 |
record[key] = processed_list
|
47 |
# Scalar values
|
48 |
else:
|
49 |
-
if pd.isnull(value)
|
50 |
record[key] = None
|
51 |
|
52 |
try:
|
|
|
35 |
|
36 |
# Handle potential NaT values
|
37 |
for record in records[:3]:
|
38 |
+
print(record)
|
39 |
for key, value in record.items():
|
40 |
print("###")
|
41 |
print(key)
|
|
|
46 |
record[key] = processed_list
|
47 |
# Scalar values
|
48 |
else:
|
49 |
+
if pd.isnull(value):
|
50 |
record[key] = None
|
51 |
|
52 |
try:
|