File tree Expand file tree Collapse file tree 2 files changed +0
-17
lines changed
Expand file tree Collapse file tree 2 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -220,22 +220,6 @@ Load a list of Python dictionaries with [`~Dataset.from_list`]:
220220>> > dataset = Dataset.from_list(my_list)
221221```
222222
223- ### Python generator
224-
225- Create a dataset from a Python generator with [ ` ~Dataset.from_generator ` ] :
226-
227- ``` py
228- >> > from datasets import Dataset
229- >> > def my_gen ():
230- ... yield {" a" : 1 }
231- ... yield {" a" : 2 }
232- ... yield {" a" : 3 }
233- ...
234- >> > dataset = Dataset.from_generator(my_dict)
235- ```
236-
237- This approach supports loading data larger than available memory.
238-
239223### Pandas DataFrame
240224
241225Load Pandas DataFrames with [ ` ~Dataset.from_pandas ` ] :
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ The base class [`Dataset`] implements a Dataset backed by an Apache Arrow table.
1616 - from_buffer
1717 - from_pandas
1818 - from_dict
19- - from_generator
2019 - data
2120 - cache_files
2221 - num_columns
You can’t perform that action at this time.
0 commit comments