8000 CLN: remove redundant openpyxl type conversions by ahawryluk · Pull Request #39782 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

CLN: remove redundant openpyxl type conversions #39782

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 15, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove unused import
  • Loading branch information
ahawryluk committed Feb 12, 2021
commit 6ed838a6260c8324b49c703a537ed56aba6590af
2 changes: 1 addition & 1 deletion pandas/io/excel/_openpyxl.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ def get_sheet_by_index(self, index: int):

def _convert_cell(self, cell, convert_float: bool) -> Scalar:

from openpyxl.cell.cell import TYPE_BOOL, TYPE_ERROR, TYPE_NUMERIC
from openpyxl.cell.cell import TYPE_ERROR, TYPE_NUMERIC

if cell.value is None:
return "" # compat with xlrd
Expand Down
0