Preprocessing
preprocessing
series_semantic
constant_series(series, constant)
Create a series with a constant value for each row of series
.
Source code in preprocessing/series_semantic.py
220 221 222 |
|
parse_datetime_with_tz(s)
Parse datetime strings with timezone info (both abbreviations and offsets)
Source code in preprocessing/series_semantic.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
|
test_series_semantic
test_all_none_series()
Test series with all null values
Source code in preprocessing/test_series_semantic.py
190 191 192 193 194 |
|
test_date_string_parsing()
Test date-only string parsing
Source code in preprocessing/test_series_semantic.py
43 44 45 46 47 48 49 50 |
|
test_datetime_timezone_inference()
Test main inference function with timezone datetime
Source code in preprocessing/test_series_semantic.py
78 79 80 81 82 83 84 85 |
|
test_datetime_with_timezone_offset_parsing()
Test timezone offset datetime strings get recognized as datetime semantic
Source code in preprocessing/test_series_semantic.py
145 146 147 148 149 150 151 152 153 154 155 |
|
test_datetime_with_timezone_parsing()
Test parsing datetime strings with timezone
Source code in preprocessing/test_series_semantic.py
32 33 34 35 36 37 38 39 40 |
|
test_mixed_valid_invalid_dates()
Test series with mix of valid and invalid datetime strings
Source code in preprocessing/test_series_semantic.py
197 198 199 200 201 202 203 204 205 |
|
test_native_date_recognition()
Test that pl.Date columns get recognized correctly
Source code in preprocessing/test_series_semantic.py
18 19 20 21 22 23 |
|
test_native_datetime_recognition()
Test that pl.Datetime columns get recognized correctly
Source code in preprocessing/test_series_semantic.py
26 27 28 29 |
|
test_native_types_inference()
Test that native temporal types get recognized
Source code in preprocessing/test_series_semantic.py
88 89 90 91 92 93 94 |
|
test_parse_datetime_mixed_timezones_warning()
Test that mixed timezones trigger a warning
Source code in preprocessing/test_series_semantic.py
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 |
|
test_parse_datetime_with_tz()
Test timezone parsing helper function
Source code in preprocessing/test_series_semantic.py
113 114 115 116 117 118 119 120 121 122 |
|
test_parse_datetime_with_tz_no_timezone()
Test datetime parsing without timezone suffix
Source code in preprocessing/test_series_semantic.py
125 126 127 128 129 130 131 |
|
test_parse_datetime_with_tz_offset()
Test datetime parsing with timezone offset format
Source code in preprocessing/test_series_semantic.py
134 135 136 137 138 139 140 141 142 |
|
test_text_catch_all()
Test free form text parsing
Source code in preprocessing/test_series_semantic.py
63 64 65 66 67 68 69 70 71 72 73 74 75 |
|
test_threshold_behavior()
Test that recognition threshold works correctly
Source code in preprocessing/test_series_semantic.py
97 98 99 100 101 102 103 104 105 106 107 108 109 |
|
test_time_string_parsing()
Test time-only string parsing
Source code in preprocessing/test_series_semantic.py
53 54 55 56 57 58 59 60 |
|