-
-
Notifications
You must be signed in to change notification settings - Fork 144
Updated Dataframe.to_excel and Dataframe.to_latex #179
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
Conversation
tests/test_frame.py
Outdated
if TYPE_CHECKING: # skip pytest | ||
|
||
df = pd.DataFrame(data={"col1": [1, 2], "col2": [3, 4]}) | ||
df.to_excel("foo.xlsx", startrow=1, startcol=1, header=False) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you use the pattern that is in test_pandas.py
with NamedTemporaryFile
that is used to test to_csv()
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test is now no longer skipped by pytest.
Looking into this, it seems that we are not supporting Can you take |
- added openpyxl to dev-requirements - updated tests
Hey @Dr-Irv, |
No, but I wanted to make sure that the stubs in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @p5k369
For both, header accepts boolean or a list of strings.