Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Line breaks not consistent #57

Open
@subsurfaceiodev

Description

@subsurfaceiodev

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 pddf = pd.read_excel('data.xlsx')print(df)df_calamine = pd.read_excel('data.xlsx', engine='calamine')print(df_calamine)

we get:

print(df):
header1 header2header\nwith break
0 1 4 7
1 2 5 8
2 3 6 9

print(df_calamine):
header1 header2header\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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2026 Movatter.jp