MCPcopy Create free account
hub / github.com/OpenDCAI/Paper2Any / count

Method count

dataflow_agent/storage/storage_service.py:56–58  ·  view source on GitHub ↗

Total number of records -- utilised by the sample-size formulae.

(self)

Source from the content-addressed store, hash-verified

54 yield row.to_dict()
55
56 def count(self) -> int:
57 """Total number of records -- utilised by the sample-size formulae."""
58 return len(self._load_as_dataframe())
59
60 def get_fields(self) -> List[str]:
61 """Get column names / JSON keys in the dataset."""

Calls 1

_load_as_dataframeMethod · 0.95