Skip to content

bad handling of Int64 column of dataframe when reading in R with read_feather #7385

@rezaeir

Description

@rezaeir

I'm new with using the arrow pacakge. my code is as follows:

# Python
import pandas as pd
df = pd.DataFrame(dict(a=[1,2], b=[3,4]))

df.to_feather('test.feather')

then

# R
library('arrow')
df = read_feather('test.feather')
data.matrix(df)

which instead of coercing to double gives me this unusual output

a	        b
4.940656e-324	1.482197e-323
9.881313e-324	1.976263e-323

Which part of my code is wrong or What should I do here to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions