def save(self, doc):
        if doc.id:
            return self.update(doc)
        else:
            return self.insert(doc)
def applies(cls, obj):
        if not cls.loaded():
            return False
        import cudf
        return isinstance(obj, (cudf.DataFrame, cudf.Series))