for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
from math import isnan, nan
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
class SomeClass: def some_method(self): """Do x and return foo."""
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.
nan
math
from foil.records import replace_keys, rename_keys
def nan_to_none(value):
return None if isnan(value) else value
def none_to_nan(value):
return nan if value is None else value
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.