nanpdist
pdist
that determines how nan
should be treated.Clearly, I don't favor the first option since I believe missing values can be important pieces of information, too. I slightly tend towards option two because adding a keyword will further complicate an already very long pdist function.
I'm happy to submit a pull request if there is a consensus that something should be done.
Best,
Moritz