Skip to content

converting csv to pickle file #12

@mahirahaqilah

Description

@mahirahaqilah

Hi , I am really new here, I have this issue where i am not able to convert csv file to pickle file, please correct my code if I am wrong.

Should it be this :
with open('ava_train_v2.csv', 'wb') as f:
pickle.dump(ava_train_v2.csv, f)

or this ?
with open('ava_train_v2.pkl', 'wb') as f:
pickle.dump(ava_train_v2.pkl, f)

(https://user-images.githubusercontent.com/23328577/80235678-9b768280-868c-11ea-8e73-fcaaac3f851e.PNG)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions