Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

Erros when download and preprocess earthquakes and citibikes #10

@junwoopark92

Description

@junwoopark92

In 'place' columns of 1990_2019.csv, there are NAN values, so it causes ValueError: Cannot mask with non-boolean array containing NA / NaN values

I think we need to drop rows with NAN values before running the above code.

df.dropna(subset=['place'], axis=0, inplace=True)

However, I'm not sure if this preprocessed dataset is entirely identical to the one that the authors used for evaluation in their paper.

this code tries to get std for the float-type columns. so we need to fix this line as below.

df.std(numeric_only=True)

I would like the authors to review these issues.

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