moved NotImplementedError up to facilitate function amendment after pd writing implementation
moved NotImplementedError up to facilitate function amendment after pd writing implementation

theislab/scanpy,theislab/scanpy