Skip to content

Problems about cannot deleteing row due to the new Dask version #1

Description

@bghjmn32

Hello,

This is my first time using Github Issues and I am a beginniner, so sorry for my bad formate.

Thanks for your code. I am using it to do some analysis for 2020 Chicago data , so I am using the new version Libraies.

For the crime-polt notebook, I found a problem that

RCTNSU~@5O)_)$QHK{95M

It is supposed to filter all the rows with their PrimaryType doesn't belong to any of above 5 kinds.

For the next section, I change your pd.TimeGrouper('M') to pd.grouper(freq='M') as the previous one is no longer support in the current Libray.(I only changed this place)

image

But here comes the problem, it seems the row selection doesn't work in the end. You can see those PrimaryType which are supposed to be delete from the df still exist and got count.

JNB5@KP0~ 93~9(HE {S$1S

And they make the graph plot a mess.

TC(@NG2@S$TQW)BNK{9{R

If this don't bother you ,can you kindly give some advice on how to delete them? Because I only did one change on your code, and the whole result become a mess, which is very sad.

best regrads

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions