Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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):
Callers
15
read_table
Method · 0.45
test_keep_features_after_transform_to_file
Method · 0.45
test_concatenate_datasets
Function · 0.45
_create_concatenation_table
Function · 0.45
test_concatenate_datasets_with_concatenation_tables
Function · 0.45
test_dataset_add_column
Function · 0.45
test_dataset_add_item
Function · 0.45
test_dataset_from_file
Function · 0.45
test_pickle_dataset_after_transforming_the_table
Function · 0.45
memory_mapped_blocks
Function · 0.45
test_in_memory_table_from_file
Function · 0.45
test_memory_mapped_table_from_file
Function · 0.45
Calls
1
_in_memory_arrow_table_from_file
Function · 0.85
Tested by
15
test_keep_features_after_transform_to_file
Method · 0.36
test_concatenate_datasets
Function · 0.36
_create_concatenation_table
Function · 0.36
test_concatenate_datasets_with_concatenation_tables
Function · 0.36
test_dataset_add_column
Function · 0.36
test_dataset_add_item
Function · 0.36
test_dataset_from_file
Function · 0.36
test_pickle_dataset_after_transforming_the_table
Function · 0.36
memory_mapped_blocks
Function · 0.36
test_in_memory_table_from_file
Function · 0.36
test_memory_mapped_table_from_file
Function · 0.36
test_memory_mapped_table_from_file_with_replay
Function · 0.36