csv-detective 0.7.5.dev1320__py3-none-any.whl → 0.7.5.dev1335__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- csv_detective/detect_labels/FR/geo/adresse/__init__.py +2 -2
- csv_detective/detect_labels/FR/geo/code_commune_insee/__init__.py +3 -3
- csv_detective/detect_labels/FR/geo/code_departement/__init__.py +2 -2
- csv_detective/detect_labels/FR/geo/code_fantoir/__init__.py +2 -2
- csv_detective/detect_labels/FR/geo/code_postal/__init__.py +2 -2
- csv_detective/detect_labels/FR/geo/code_region/__init__.py +2 -2
- csv_detective/detect_labels/FR/geo/commune/__init__.py +2 -2
- csv_detective/detect_labels/FR/geo/departement/__init__.py +2 -2
- csv_detective/detect_labels/FR/geo/insee_canton/__init__.py +2 -2
- csv_detective/detect_labels/FR/geo/latitude_l93/__init__.py +2 -2
- csv_detective/detect_labels/FR/geo/latitude_wgs_fr_metropole/__init__.py +2 -2
- csv_detective/detect_labels/FR/geo/longitude_l93/__init__.py +2 -2
- csv_detective/detect_labels/FR/geo/longitude_wgs_fr_metropole/__init__.py +2 -2
- csv_detective/detect_labels/FR/geo/pays/__init__.py +2 -2
- csv_detective/detect_labels/FR/geo/region/__init__.py +2 -2
- csv_detective/detect_labels/FR/other/code_csp_insee/__init__.py +2 -2
- csv_detective/detect_labels/FR/other/code_rna/__init__.py +2 -2
- csv_detective/detect_labels/FR/other/code_waldec/__init__.py +2 -2
- csv_detective/detect_labels/FR/other/csp_insee/__init__.py +2 -2
- csv_detective/detect_labels/FR/other/date_fr/__init__.py +2 -2
- csv_detective/detect_labels/FR/other/insee_ape700/__init__.py +2 -2
- csv_detective/detect_labels/FR/other/sexe/__init__.py +2 -2
- csv_detective/detect_labels/FR/other/siren/__init__.py +2 -2
- csv_detective/detect_labels/FR/other/siret/__init__.py +2 -2
- csv_detective/detect_labels/FR/other/tel_fr/__init__.py +2 -2
- csv_detective/detect_labels/FR/other/uai/__init__.py +2 -2
- csv_detective/detect_labels/FR/temp/jour_de_la_semaine/__init__.py +2 -2
- csv_detective/detect_labels/FR/temp/mois_de_annee/__init__.py +2 -2
- csv_detective/detect_labels/geo/iso_country_code_alpha2/__init__.py +2 -2
- csv_detective/detect_labels/geo/iso_country_code_alpha3/__init__.py +2 -2
- csv_detective/detect_labels/geo/iso_country_code_numeric/__init__.py +2 -2
- csv_detective/detect_labels/geo/json_geojson/__init__.py +2 -2
- csv_detective/detect_labels/geo/latitude_wgs/__init__.py +2 -2
- csv_detective/detect_labels/geo/latlon_wgs/__init__.py +2 -2
- csv_detective/detect_labels/geo/longitude_wgs/__init__.py +2 -2
- csv_detective/detect_labels/other/booleen/__init__.py +2 -2
- csv_detective/detect_labels/other/email/__init__.py +2 -2
- csv_detective/detect_labels/other/float/__init__.py +2 -2
- csv_detective/detect_labels/other/int/__init__.py +2 -2
- csv_detective/detect_labels/other/mongo_object_id/__init__.py +2 -2
- csv_detective/detect_labels/other/twitter/__init__.py +2 -2
- csv_detective/detect_labels/other/url/__init__.py +2 -2
- csv_detective/detect_labels/other/uuid/__init__.py +2 -2
- csv_detective/detect_labels/temp/date/__init__.py +2 -2
- csv_detective/detect_labels/temp/datetime_iso/__init__.py +2 -2
- csv_detective/detect_labels/temp/datetime_rfc822/__init__.py +2 -2
- csv_detective/detect_labels/temp/year/__init__.py +2 -2
- csv_detective/explore_csv.py +12 -7
- csv_detective/output/__init__.py +2 -2
- csv_detective/output/example.py +1 -1
- csv_detective/parsing/columns.py +0 -2
- csv_detective/parsing/load.py +4 -4
- csv_detective/utils.py +2 -7
- csv_detective/validate.py +21 -16
- {csv_detective-0.7.5.dev1320.data → csv_detective-0.7.5.dev1335.data}/data/share/csv_detective/CHANGELOG.md +1 -0
- {csv_detective-0.7.5.dev1320.dist-info → csv_detective-0.7.5.dev1335.dist-info}/METADATA +1 -1
- {csv_detective-0.7.5.dev1320.dist-info → csv_detective-0.7.5.dev1335.dist-info}/RECORD +64 -64
- {csv_detective-0.7.5.dev1320.dist-info → csv_detective-0.7.5.dev1335.dist-info}/WHEEL +1 -1
- tests/test_validation.py +85 -4
- {csv_detective-0.7.5.dev1320.data → csv_detective-0.7.5.dev1335.data}/data/share/csv_detective/LICENSE.AGPL.txt +0 -0
- {csv_detective-0.7.5.dev1320.data → csv_detective-0.7.5.dev1335.data}/data/share/csv_detective/README.md +0 -0
- {csv_detective-0.7.5.dev1320.dist-info → csv_detective-0.7.5.dev1335.dist-info}/entry_points.txt +0 -0
- {csv_detective-0.7.5.dev1320.dist-info → csv_detective-0.7.5.dev1335.dist-info}/licenses/LICENSE.AGPL.txt +0 -0
- {csv_detective-0.7.5.dev1320.dist-info → csv_detective-0.7.5.dev1335.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -30,7 +30,7 @@ def _is(header):
|
|
|
30
30
|
words_combination_in_header = 0.5 * float(
|
|
31
31
|
any(
|
|
32
32
|
[
|
|
33
|
-
|
|
33
|
+
is_word_in_string(
|
|
34
34
|
words_combination, processed_header
|
|
35
35
|
) for words_combination in words_combinations_list
|
|
36
36
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -18,7 +18,7 @@ def _is(header):
|
|
|
18
18
|
'code insee commune',
|
|
19
19
|
'insee',
|
|
20
20
|
'code com',
|
|
21
|
-
'com'
|
|
21
|
+
'com',
|
|
22
22
|
]
|
|
23
23
|
processed_header = _process_text(header)
|
|
24
24
|
|
|
@@ -32,7 +32,7 @@ def _is(header):
|
|
|
32
32
|
words_combination_in_header = 0.5 * float(
|
|
33
33
|
any(
|
|
34
34
|
[
|
|
35
|
-
|
|
35
|
+
is_word_in_string(
|
|
36
36
|
words_combination, processed_header
|
|
37
37
|
) for words_combination in words_combinations_list
|
|
38
38
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -23,7 +23,7 @@ def _is(header):
|
|
|
23
23
|
words_combination_in_header = 0.5 * float(
|
|
24
24
|
any(
|
|
25
25
|
[
|
|
26
|
-
|
|
26
|
+
is_word_in_string(
|
|
27
27
|
words_combination, processed_header
|
|
28
28
|
) for words_combination in words_combinations_list
|
|
29
29
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -23,7 +23,7 @@ def _is(header):
|
|
|
23
23
|
words_combination_in_header = 0.5 * float(
|
|
24
24
|
any(
|
|
25
25
|
[
|
|
26
|
-
|
|
26
|
+
is_word_in_string(
|
|
27
27
|
words_combination, processed_header
|
|
28
28
|
) for words_combination in words_combinations_list
|
|
29
29
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -31,7 +31,7 @@ def _is(header):
|
|
|
31
31
|
words_combination_in_header = 0.5 * float(
|
|
32
32
|
any(
|
|
33
33
|
[
|
|
34
|
-
|
|
34
|
+
is_word_in_string(
|
|
35
35
|
words_combination, processed_header
|
|
36
36
|
) for words_combination in words_combinations_list
|
|
37
37
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -23,7 +23,7 @@ def _is(header):
|
|
|
23
23
|
words_combination_in_header = 0.5 * float(
|
|
24
24
|
any(
|
|
25
25
|
[
|
|
26
|
-
|
|
26
|
+
is_word_in_string(
|
|
27
27
|
words_combination, processed_header
|
|
28
28
|
) for words_combination in words_combinations_list
|
|
29
29
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -23,7 +23,7 @@ def _is(header):
|
|
|
23
23
|
words_combination_in_header = 0.5 * float(
|
|
24
24
|
any(
|
|
25
25
|
[
|
|
26
|
-
|
|
26
|
+
is_word_in_string(
|
|
27
27
|
words_combination, processed_header
|
|
28
28
|
) for words_combination in words_combinations_list
|
|
29
29
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -37,7 +37,7 @@ def _is(header):
|
|
|
37
37
|
words_combination_in_header = 0.5 * float(
|
|
38
38
|
any(
|
|
39
39
|
[
|
|
40
|
-
|
|
40
|
+
is_word_in_string(
|
|
41
41
|
words_combination, processed_header
|
|
42
42
|
) for words_combination in words_combinations_list
|
|
43
43
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -23,7 +23,7 @@ def _is(header):
|
|
|
23
23
|
words_combination_in_header = 0.5 * float(
|
|
24
24
|
any(
|
|
25
25
|
[
|
|
26
|
-
|
|
26
|
+
is_word_in_string(
|
|
27
27
|
words_combination, processed_header
|
|
28
28
|
) for words_combination in words_combinations_list
|
|
29
29
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -44,7 +44,7 @@ def _is(header):
|
|
|
44
44
|
words_combination_in_header = 0.5 * float(
|
|
45
45
|
any(
|
|
46
46
|
[
|
|
47
|
-
|
|
47
|
+
is_word_in_string(
|
|
48
48
|
words_combination, processed_header
|
|
49
49
|
) for words_combination in words_combinations_list
|
|
50
50
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -45,7 +45,7 @@ def _is(header):
|
|
|
45
45
|
words_combination_in_header = 0.5 * float(
|
|
46
46
|
any(
|
|
47
47
|
[
|
|
48
|
-
|
|
48
|
+
is_word_in_string(
|
|
49
49
|
words_combination, processed_header
|
|
50
50
|
) for words_combination in words_combinations_list
|
|
51
51
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -34,7 +34,7 @@ def _is(header):
|
|
|
34
34
|
words_combination_in_header = 0.5 * float(
|
|
35
35
|
any(
|
|
36
36
|
[
|
|
37
|
-
|
|
37
|
+
is_word_in_string(
|
|
38
38
|
words_combination, processed_header
|
|
39
39
|
) for words_combination in words_combinations_list
|
|
40
40
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -35,7 +35,7 @@ def _is(header):
|
|
|
35
35
|
words_combination_in_header = 0.5 * float(
|
|
36
36
|
any(
|
|
37
37
|
[
|
|
38
|
-
|
|
38
|
+
is_word_in_string(
|
|
39
39
|
words_combination, processed_header
|
|
40
40
|
) for words_combination in words_combinations_list
|
|
41
41
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -35,7 +35,7 @@ def _is(header):
|
|
|
35
35
|
words_combination_in_header = 0.5 * float(
|
|
36
36
|
any(
|
|
37
37
|
[
|
|
38
|
-
|
|
38
|
+
is_word_in_string(
|
|
39
39
|
words_combination, processed_header
|
|
40
40
|
) for words_combination in words_combinations_list
|
|
41
41
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -35,7 +35,7 @@ def _is(header):
|
|
|
35
35
|
words_combination_in_header = 0.5 * float(
|
|
36
36
|
any(
|
|
37
37
|
[
|
|
38
|
-
|
|
38
|
+
is_word_in_string(
|
|
39
39
|
words_combination, processed_header
|
|
40
40
|
) for words_combination in words_combinations_list
|
|
41
41
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -23,7 +23,7 @@ def _is(header):
|
|
|
23
23
|
words_combination_in_header = 0.5 * float(
|
|
24
24
|
any(
|
|
25
25
|
[
|
|
26
|
-
|
|
26
|
+
is_word_in_string(
|
|
27
27
|
words_combination, processed_header
|
|
28
28
|
) for words_combination in words_combinations_list
|
|
29
29
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -28,7 +28,7 @@ def _is(header):
|
|
|
28
28
|
words_combination_in_header = 0.5 * float(
|
|
29
29
|
any(
|
|
30
30
|
[
|
|
31
|
-
|
|
31
|
+
is_word_in_string(
|
|
32
32
|
words_combination, processed_header
|
|
33
33
|
) for words_combination in words_combinations_list
|
|
34
34
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -23,7 +23,7 @@ def _is(header):
|
|
|
23
23
|
words_combination_in_header = 0.5 * float(
|
|
24
24
|
any(
|
|
25
25
|
[
|
|
26
|
-
|
|
26
|
+
is_word_in_string(
|
|
27
27
|
words_combination, processed_header
|
|
28
28
|
) for words_combination in words_combinations_list
|
|
29
29
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -27,7 +27,7 @@ def _is(header):
|
|
|
27
27
|
words_combination_in_header = 0.5 * float(
|
|
28
28
|
any(
|
|
29
29
|
[
|
|
30
|
-
|
|
30
|
+
is_word_in_string(
|
|
31
31
|
words_combination, processed_header
|
|
32
32
|
) for words_combination in words_combinations_list
|
|
33
33
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -23,7 +23,7 @@ def _is(header):
|
|
|
23
23
|
words_combination_in_header = 0.5 * float(
|
|
24
24
|
any(
|
|
25
25
|
[
|
|
26
|
-
|
|
26
|
+
is_word_in_string(
|
|
27
27
|
words_combination, processed_header
|
|
28
28
|
) for words_combination in words_combinations_list
|
|
29
29
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -30,7 +30,7 @@ def _is(header):
|
|
|
30
30
|
words_combination_in_header = 0.5 * float(
|
|
31
31
|
any(
|
|
32
32
|
[
|
|
33
|
-
|
|
33
|
+
is_word_in_string(
|
|
34
34
|
words_combination, processed_header
|
|
35
35
|
) for words_combination in words_combinations_list
|
|
36
36
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -23,7 +23,7 @@ def _is(header):
|
|
|
23
23
|
words_combination_in_header = 0.5 * float(
|
|
24
24
|
any(
|
|
25
25
|
[
|
|
26
|
-
|
|
26
|
+
is_word_in_string(
|
|
27
27
|
words_combination, processed_header
|
|
28
28
|
) for words_combination in words_combinations_list
|
|
29
29
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -31,7 +31,7 @@ def _is(header):
|
|
|
31
31
|
words_combination_in_header = 0.5 * float(
|
|
32
32
|
any(
|
|
33
33
|
[
|
|
34
|
-
|
|
34
|
+
is_word_in_string(
|
|
35
35
|
words_combination, processed_header
|
|
36
36
|
) for words_combination in words_combinations_list
|
|
37
37
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -30,7 +30,7 @@ def _is(header):
|
|
|
30
30
|
words_combination_in_header = 0.5 * float(
|
|
31
31
|
any(
|
|
32
32
|
[
|
|
33
|
-
|
|
33
|
+
is_word_in_string(
|
|
34
34
|
words_combination, processed_header
|
|
35
35
|
) for words_combination in words_combinations_list
|
|
36
36
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -35,7 +35,7 @@ def _is(header):
|
|
|
35
35
|
words_combination_in_header = 0.5 * float(
|
|
36
36
|
any(
|
|
37
37
|
[
|
|
38
|
-
|
|
38
|
+
is_word_in_string(
|
|
39
39
|
words_combination, processed_header
|
|
40
40
|
) for words_combination in words_combinations_list
|
|
41
41
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -40,7 +40,7 @@ def _is(header):
|
|
|
40
40
|
words_combination_in_header = 0.5 * float(
|
|
41
41
|
any(
|
|
42
42
|
[
|
|
43
|
-
|
|
43
|
+
is_word_in_string(
|
|
44
44
|
words_combination, processed_header
|
|
45
45
|
) for words_combination in words_combinations_list
|
|
46
46
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -31,7 +31,7 @@ def _is(header):
|
|
|
31
31
|
words_combination_in_header = 0.5 * float(
|
|
32
32
|
any(
|
|
33
33
|
[
|
|
34
|
-
|
|
34
|
+
is_word_in_string(
|
|
35
35
|
words_combination, processed_header
|
|
36
36
|
) for words_combination in words_combinations_list
|
|
37
37
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -23,7 +23,7 @@ def _is(header):
|
|
|
23
23
|
words_combination_in_header = 0.5 * float(
|
|
24
24
|
any(
|
|
25
25
|
[
|
|
26
|
-
|
|
26
|
+
is_word_in_string(
|
|
27
27
|
words_combination, processed_header
|
|
28
28
|
) for words_combination in words_combinations_list
|
|
29
29
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -31,7 +31,7 @@ def _is(header):
|
|
|
31
31
|
words_combination_in_header = 0.5 * float(
|
|
32
32
|
any(
|
|
33
33
|
[
|
|
34
|
-
|
|
34
|
+
is_word_in_string(
|
|
35
35
|
words_combination, processed_header
|
|
36
36
|
) for words_combination in words_combinations_list
|
|
37
37
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -31,7 +31,7 @@ def _is(header):
|
|
|
31
31
|
words_combination_in_header = 0.5 * float(
|
|
32
32
|
any(
|
|
33
33
|
[
|
|
34
|
-
|
|
34
|
+
is_word_in_string(
|
|
35
35
|
words_combination, processed_header
|
|
36
36
|
) for words_combination in words_combinations_list
|
|
37
37
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -31,7 +31,7 @@ def _is(header):
|
|
|
31
31
|
words_combination_in_header = 0.5 * float(
|
|
32
32
|
any(
|
|
33
33
|
[
|
|
34
|
-
|
|
34
|
+
is_word_in_string(
|
|
35
35
|
words_combination, processed_header
|
|
36
36
|
) for words_combination in words_combinations_list
|
|
37
37
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -32,7 +32,7 @@ def _is(header):
|
|
|
32
32
|
words_combination_in_header = 0.5 * float(
|
|
33
33
|
any(
|
|
34
34
|
[
|
|
35
|
-
|
|
35
|
+
is_word_in_string(
|
|
36
36
|
words_combination, processed_header
|
|
37
37
|
) for words_combination in words_combinations_list
|
|
38
38
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -45,7 +45,7 @@ def _is(header):
|
|
|
45
45
|
words_combination_in_header = 0.5 * float(
|
|
46
46
|
any(
|
|
47
47
|
[
|
|
48
|
-
|
|
48
|
+
is_word_in_string(
|
|
49
49
|
words_combination, processed_header
|
|
50
50
|
) for words_combination in words_combinations_list
|
|
51
51
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -58,7 +58,7 @@ def _is(header):
|
|
|
58
58
|
words_combination_in_header = 0.5 * float(
|
|
59
59
|
any(
|
|
60
60
|
[
|
|
61
|
-
|
|
61
|
+
is_word_in_string(
|
|
62
62
|
words_combination, processed_header
|
|
63
63
|
) for words_combination in words_combinations_list
|
|
64
64
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -35,7 +35,7 @@ def _is(header):
|
|
|
35
35
|
words_combination_in_header = 0.5 * float(
|
|
36
36
|
any(
|
|
37
37
|
[
|
|
38
|
-
|
|
38
|
+
is_word_in_string(
|
|
39
39
|
words_combination, processed_header
|
|
40
40
|
) for words_combination in words_combinations_list
|
|
41
41
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -24,7 +24,7 @@ def _is(header):
|
|
|
24
24
|
words_combination_in_header = 0.5 * float(
|
|
25
25
|
any(
|
|
26
26
|
[
|
|
27
|
-
|
|
27
|
+
is_word_in_string(
|
|
28
28
|
words_combination, processed_header
|
|
29
29
|
) for words_combination in words_combinations_list
|
|
30
30
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -35,7 +35,7 @@ def _is(header):
|
|
|
35
35
|
words_combination_in_header = 0.5 * float(
|
|
36
36
|
any(
|
|
37
37
|
[
|
|
38
|
-
|
|
38
|
+
is_word_in_string(
|
|
39
39
|
words_combination, processed_header
|
|
40
40
|
) for words_combination in words_combinations_list
|
|
41
41
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -23,7 +23,7 @@ def _is(header):
|
|
|
23
23
|
words_combination_in_header = 0.5 * float(
|
|
24
24
|
any(
|
|
25
25
|
[
|
|
26
|
-
|
|
26
|
+
is_word_in_string(
|
|
27
27
|
words_combination, processed_header
|
|
28
28
|
) for words_combination in words_combinations_list
|
|
29
29
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -23,7 +23,7 @@ def _is(header):
|
|
|
23
23
|
words_combination_in_header = 0.5 * float(
|
|
24
24
|
any(
|
|
25
25
|
[
|
|
26
|
-
|
|
26
|
+
is_word_in_string(
|
|
27
27
|
words_combination, processed_header
|
|
28
28
|
) for words_combination in words_combinations_list
|
|
29
29
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -23,7 +23,7 @@ def _is(header):
|
|
|
23
23
|
words_combination_in_header = 0.5 * float(
|
|
24
24
|
any(
|
|
25
25
|
[
|
|
26
|
-
|
|
26
|
+
is_word_in_string(
|
|
27
27
|
words_combination, processed_header
|
|
28
28
|
) for words_combination in words_combinations_list
|
|
29
29
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from csv_detective.utils import
|
|
1
|
+
from csv_detective.utils import is_word_in_string
|
|
2
2
|
from csv_detective.parsing.text import _process_text
|
|
3
3
|
|
|
4
4
|
PROPORTION = 0.5
|
|
@@ -23,7 +23,7 @@ def _is(header):
|
|
|
23
23
|
words_combination_in_header = 0.5 * float(
|
|
24
24
|
any(
|
|
25
25
|
[
|
|
26
|
-
|
|
26
|
+
is_word_in_string(
|
|
27
27
|
words_combination, processed_header
|
|
28
28
|
) for words_combination in words_combinations_list
|
|
29
29
|
]
|