File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ python:
12
12
install :
13
13
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install weakrefset; fi
14
14
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install ordereddict; fi
15
+ - pip install https://github.com/chfw/pyexcel/archive/master.zip
16
+ - pip install https://github.com/chfw/pyexcel-io/archive/master.zip
15
17
- pip install -r requirements.txt
16
18
- pip install -r tests/requirements.txt
17
19
script :
Original file line number Diff line number Diff line change 1
- 0.0.12
1
+ 0.1.0-dev
Original file line number Diff line number Diff line change @@ -101,7 +101,6 @@ def name(self):
101
101
def to_array (self ):
102
102
"""reads a sheet in the sheet dictionary, storing each sheet
103
103
as an array (rows) of arrays (columns)"""
104
- table = []
105
104
for row in range (self .native_sheet .nrows ()):
106
105
row_data = []
107
106
tmp_row = []
@@ -112,9 +111,7 @@ def to_array(self):
112
111
row_data += tmp_row
113
112
tmp_row = []
114
113
if len (row_data ) > 0 :
115
- table .append (row_data )
116
-
117
- return table
114
+ yield row_data
118
115
119
116
def _read_cell (self , cell ):
120
117
cell_type = cell .value_type
You can’t perform that action at this time.
0 commit comments