Skip to content
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

Formulas are not being evaluated #43

Open
chrisspen opened this issue Oct 30, 2022 · 0 comments
Open

Formulas are not being evaluated #43

chrisspen opened this issue Oct 30, 2022 · 0 comments

Comments

@chrisspen
Copy link

If you use save_data to write a cell starting with "=", it renders the raw text of the formula and does not evaluate the formula's logic.

>>> from pyexcel_ods import save_data
>>> from collections import OrderedDict
>>> data = OrderedDict()
>>> data.update({"Sheet 1": [
...     ['A', 'B', 'C']] + \
...     [[1, 2, '=A2+B2']]
... })
>>> 
>>> save_data('test.ods', data)

Screenshot from 2022-10-29 21-22-51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant