int mapping

这个提交包含在:
jasminium
2021-05-14 18:53:13 +02:00
父节点 213a8d6087
当前提交 e2a35fe317

查看文件

@@ -204,3 +204,12 @@ def natural_keys(text):
def timer():
"""Function to return time in fractional seconds."""
return timer_fn()
def numeric_list_to_int_list(l):
"""Return a list of int from a numerical list"""
return list(map(int, l))
def numeric_list_to_float_list(l):
"""Return a list of int from a numerical list"""
return list(map(float, l))