Skip to content

Commit 67ec672

Browse files
Remove commented out debug code
1 parent cd8d3f1 commit 67ec672

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pandas/io/excel/_odfreader.py

-4
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ def get_sheet_data(self, sheet, convert_float: bool) -> List[List[Scalar]]:
120120
if len(row) < max_row_len:
121121
row.extend([self.empty_value] * (max_row_len - len(row)))
122122

123-
# print(table)
124123
return table
125124

126125
def _get_row_repeat(self, row) -> int:
@@ -151,12 +150,10 @@ def _is_empty_row(self, row) -> bool:
151150
def _get_cell_value(self, cell, convert_float: bool) -> Scalar:
152151
from odf.namespaces import OFFICENS
153152

154-
# print("\ncell: ", cell, convert_float)
155153
if str(cell) == "#N/A":
156154
return np.nan
157155

158156
cell_type = cell.attributes.get((OFFICENS, "value-type"))
159-
# print("type=", cell_type, "value=", repr(cell_value))
160157
if cell_type == "boolean":
161158
if str(cell) == "TRUE":
162159
return True
@@ -166,7 +163,6 @@ def _get_cell_value(self, cell, convert_float: bool) -> Scalar:
166163
elif cell_type == "float":
167164
# GH5394
168165
cell_value = float(cell.attributes.get((OFFICENS, "value")))
169-
# print("value = ", value)
170166
if convert_float:
171167
val = int(cell_value)
172168
if val == cell_value:

0 commit comments

Comments
 (0)