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
Hi! We've noticed that calamine handles line breaks different than all other engines when reading excel files via pandas, running the following code:
data.xlsx
import pandas as pd df = pd.read_excel('data.xlsx') print(df) df_calamine = pd.read_excel('data.xlsx', engine='calamine') print(df_calamine)
we get:
print(df): header1 header2 header\nwith break 0 1 4 7 1 2 5 8 2 3 6 9
print(df_calamine): header1 header2 header\r\nwith break 0 1 4 7 1 2 5 8 2 3 6 9
As you can see, calamine is representing line breaks as r\n\ while other engines consider usual \n break.
The text was updated successfully, but these errors were encountered:
It's bug (?) in upstream.
Sorry, something went wrong.
No branches or pull requests
Hi! We've noticed that calamine handles line breaks different than all other engines when reading excel files via pandas, running the following code:
data.xlsx
we get:
print(df):
header1 header2 header\nwith break
0 1 4 7
1 2 5 8
2 3 6 9
print(df_calamine):
header1 header2 header\r\nwith break
0 1 4 7
1 2 5 8
2 3 6 9
As you can see, calamine is representing line breaks as r\n\ while other engines consider usual \n break.
The text was updated successfully, but these errors were encountered: