1- Extend pyexcel-io Tutorial
1+ Extend pyexcel-io for other excel or tabular formats
22================================================================================
33
44You are welcome to extend pyexcel-io to read and write more tabular formats.
@@ -26,7 +26,7 @@ we can use get_data() to read yaml file out.
2626
2727**Implement IReader **
2828
29- First, let's impolement reader interface as below. Three implementations are required :
29+ First, let's implement reader interface:
3030
31311. `content_array ` attribute, is expected to be a list of `NamedContent `
32322. `read_sheet ` function, read sheet content by its index.
@@ -41,10 +41,10 @@ First, let's impolement reader interface as below. Three implementations are req
4141`YourSingleSheet ` makes this simple task complex in order to show case its inner
4242workings. Two abstract functions require implementation:
4343
44- 1. `row_iterator `: should return a row: either content arry or content index as long as
45- `column_iterator ` understands
44+ 1. `row_iterator `: should return a row: either content arary or content index as long as
45+ `column_iterator ` can use it to return the cell value.
4646
47- 2. `column_iterator `: should return cell values one by one .
47+ 2. `column_iterator `: should iterate cell value from the given row .
4848
4949.. literalinclude :: ../../examples/custom_yaml_reader.py
5050 :language: python
@@ -63,6 +63,8 @@ files on physical disk. "memory" means a file stream. "content" means a string b
6363 :language: python
6464 :lines: 36-41
6565
66+ Usually, this registration code was placed in __init__.py file at the top level of your
67+ extension source tree. You can take a look at any pyexcel plugins for reference.
6668
6769**Test your reader **
6870
0 commit comments