microsoft / python-in-excel

Python in Microsoft Excel
MIT License
533 stars 36 forks source link

Error with handling of units using astropy.units #68

Open farzami opened 2 weeks ago

farzami commented 2 weeks ago

Running the following minimal code in Excel gives the error "TypeError: 'Quantity' object with a scalar value is not iterable". The same code works in Jupyter.

import astropy.units as u
q = 1.0 * u.m
keyur32 commented 3 days ago

Thank you for the report. Investigating. Internal bug # 9581403.