Updated gap handling syntax
It has been confusing that there are two keywords to handle gap filling: pad
and gap
, both of which are required to guarantee the output. This PR modifies the behaviour to not require the gap
option, so that if pad
is given as not None
, the default is as if gap='pad'
was passed.