def replace(self, **kwargs):
return type(self)(**_merge_maps(self._asdict(), kwargs))<EOL>
Create a copy with replaced fields

        Parameters
        ----------
        **kwargs
            fields and values to replace