Skip to content

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

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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