[~] Refactor

This commit is contained in:
Siarhei Siniak 2022-01-20 12:12:17 +03:00
parent 57921604c7
commit eca4f94f4b

@ -29,7 +29,7 @@ def eternal_oom(memory_limit=None):
memory_limit = 3 * 1024 * 1024
assert isinstance(memory_limit, int) \
and memory_limit < 6 * 1024 * 1024 \
and memory_limit > 512 * 1024 * 1024
and memory_limit > 512 * 1024
def pandas_data_frame(lines, groups_regex, header_regex, extra_columns):
header = re.compile(header_regex).search(lines[0]).groups()