We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10d1f8b commit cddca42Copy full SHA for cddca42
structured_data_profiling/data_tests/temporal_test.py
@@ -41,19 +41,12 @@ def identify_dates(data, n_samples=10):
41
parsed_dates = [
42
dateparser.parse(str(data2[i].iloc[j]), region="EU") is not None
43
for j in samples
44
-<<<<<<< HEAD
+
45
if data2[i].isna().iloc[j] == False
46
]
47
if len(parsed_dates) > 0:
48
if sum(parsed_dates) / len(parsed_dates) > 0.99:
49
possible_dates.append(i)
50
-=======
51
- if data2[i].isna().iloc[j] is False
52
- ]
53
-
54
- if sum(parsed_dates) / len(parsed_dates) > 0.99:
55
- possible_dates.append(i)
56
->>>>>>> 3703343f8b7c8f60854438be51498b7092867c01
57
58
dates = {}
59
for i in possible_dates:
0 commit comments