Skip to content

Conversation

@01-vyom
Copy link
Contributor

@01-vyom 01-vyom commented Mar 9, 2021

@MarcoGorelli
Copy link
Member

Nice, thanks @01-vyom for doing this!

This changes lots of files though, could you please split it up into smaller PRs? Maybe 3 PRs doing about 20 files each?

@01-vyom
Copy link
Contributor Author

01-vyom commented Mar 9, 2021

Ok, will do that

- id: codespell
types_or: [python, rst, markdown]
files: ^(pandas|doc)/
exclude: ^pandas/tests/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we exclude this, then the CI check will fail - could you keep it in, we'll update these 22 files, we'll then have another PR to update another ~20 files, and then a final PR which updates the rest and removes exclude from this file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK got it.

)
unser = read_json(s.to_json(orient="records"), orient="records", typ="series")
tm.assert_numpy_array_equal(s.values, unser.values)
user = read_json(s.to_json(orient="records"), orient="records", typ="series")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this was meant to stand for unserialized, perhaps rename it to that?

# pandas-read-csv
data = '''SEARCH_TERM,ACTUAL_URL
"bra tv bord","http://www.ikea.com/se/sv/catalog/categories/departments/living_room/10475/?se%7cps%7cnonbranded%7cvardagsrum%7cgoogle%7ctv_bord"
"bra tv board","http://www.ikea.com/se/sv/catalog/categories/departments/living_room/10475/?se%7cps%7cnonbranded%7cvardagsrum%7cgoogle%7ctv_bord"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ikea is swedish and "bra tv bord" translates as "good tv stand". :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I ignore this word then?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

naah, this is OK IMO, let's not ignore more than what's needed, I think this was written more in jest than anything 😄

@01-vyom
Copy link
Contributor Author

01-vyom commented Mar 9, 2021

Made all the necessary changes.

@01-vyom
Copy link
Contributor Author

01-vyom commented Mar 9, 2021

I made the second PR with other files, as both of these PRs are merged I will make the final PR.

@MarcoGorelli
Copy link
Member

Nice, thanks! There's some (unrelated to this PR) issue with CI though, will revisit once that's fixed

@jreback jreback added the Code Style Code style, linting, code_checks label Mar 9, 2021
@MarcoGorelli
Copy link
Member

Hi @01-vyom can you fetch and merge upstream/master please?

@MarcoGorelli MarcoGorelli added this to the 1.3 milestone Mar 11, 2021
@MarcoGorelli MarcoGorelli merged commit 3cf05ed into pandas-dev:master Mar 11, 2021
@MarcoGorelli
Copy link
Member

Thanks @01-vyom !

@01-vyom 01-vyom deleted the pandas-codespell-38802 branch March 11, 2021 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Code Style Code style, linting, code_checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants