MCPcopy
hub / github.com/huggingface/datasets / from_file

Method from_file

src/datasets/table.py:711–713  ·  view source on GitHub ↗
(cls, filename: str)

Source from the content-addressed store, hash-verified

709
710 @classmethod
711 def from_file(cls, filename: str):
712 table = _in_memory_arrow_table_from_file(filename)
713 return cls(table)
714
715 @classmethod
716 def from_buffer(cls, buffer: pa.Buffer):

Calls 1