We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
strip
Original report by Pascal Lesage (Bitbucket: MPa, ).
Strip added to extractor in commit 3390d0f results in AttributeError when importing Excel:
c:\mypy\code\brightway2-io\bw2io\extractors\excel.py in <lambda>(x) 17 def extract_sheet(cls, wb, name, strip=True): 18 ws = wb.sheet_by_name(name) ---> 19 _ = lambda x: x.strip() if strip else x 20 return [[_(ws.cell(row, col).value) for col in range(ws.ncols)] for row in range(ws.nrows)] 21 AttributeError: 'float' object has no attribute 'strip'
Tested on file "sample_activities_with_variables.xlsx"
The text was updated successfully, but these errors were encountered:
Original comment by Chris Mutel (Bitbucket: cmutel, GitHub: cmutel).
0.5.12. Fixes #42
Sorry, something went wrong.
af72dd4
No branches or pull requests
Original report by Pascal Lesage (Bitbucket: MPa, ).
Strip added to extractor in commit 3390d0f results in AttributeError when importing Excel:
Tested on file "sample_activities_with_variables.xlsx"
The text was updated successfully, but these errors were encountered: