8000 BUG: convert_dtypes incorrectly converts byte strings to strings in 1.3+ by shubham11941140 · Pull Request #43199 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

BUG: convert_dtypes incorrectly converts byte strings to strings in 1.3+ #43199

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 34 commits into from
Oct 17, 2021
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
b534f56
Implemented the byte_string
shubham11941140 Aug 24, 2021
23583fc
Update test_convert_dtypes.py
shubham11941140 Aug 24, 2021
96338fa
Update test_convert_dtypes.py
shubham11941140 Aug 24, 2021
ad4189f
Update cast.py
shubham11941140 Aug 24, 2021
e915bc0
Passes the tests
shubham11941140 Aug 25, 2021
6d0a497
Removed PEP 8 issues
shubham11941140 Aug 25, 2021
5ab2d79
Update cast.py
shubham11941140 Aug 25, 2021
7921c6f
Removed Try Except Block
shubham11941140 Aug 29, 2021
3e7a91f
pre-commit changes added
shubham11941140 Aug 29, 2021
b5b0e27
mypy static error solved
shubham11941140 Aug 30, 2021
694fb7a
Updated as requested
shubham11941140 Aug 30, 2021
e12fd22
PEP-8 issues.
shubham11941140 Aug 30, 2021
b774cef
Update v1.3.3.rst - release note added
shubham11941140 Aug 30, 2021
f867f72
elif implemented
shubham11941140 Aug 30, 2021
0cb3f08
Changes done
shubham11941140 Sep 2, 2021
9760857
Merge branch 'master' into b2
shubham11941140 Sep 9, 2021
2e18ebc
Changes done
shubham11941140 Sep 9, 2021
3193de9
Update test_convert_dtypes.py
shubham11941140 Sep 9, 2021
20f8dda
Removed pre-commit error
shubham11941140 Sep 9, 2021 8000
1503730
Update test_convert_dtypes.py
shubham11941140 Sep 9, 2021
c081d92
Added astype
shubham11941140 Sep 9, 2021
7654729
Compare bytes
shubham11941140 Sep 10, 2021
0a2e0a9
Remove build error
shubham11941140 Sep 11, 2021
d4e086c
Merge branch 'master' of https://github.com/pandas-dev/pandas into b2
shubham11941140 Sep 13, 2021
766a30f
Update 1.3.4.rst and removed 1.3.3.rst
shubham11941140 Sep 13, 2021
52ac57a
Merge branch 'master' into b2
shubham11941140 Sep 15, 2021
be03f37
Remove build error
shubham11941140 Sep 15, 2021
92677cc
Merge branch 'b2' of https://github.com/shubham11941140/pandas into b2
shubham11941140 Sep 15, 2021
07e1de9
Changed df
shubham11941140 Sep 16, 2021
5f2933d
Merge branch 'master' into b2
shubham11941140 Oct 1, 2021
bfb1242
Follows 1.2.5 behaviour
shubham11941140 Oct 16, 2021
37ee298
Merge branch 'b2' of https://github.com/shubham11941140/pandas into b2
shubham11941140 Oct 16, 2021
77ee435
Removed Whitespace
shubham11941140 Oct 16, 2021
e70f68b
Removed elif
shubham11941140 Oct 17, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update cast.py
  • Loading branch information
shubham11941140 committed Aug 24, 2021
commit ad4189f55f22dc2988b5fac6c5bcd89d029e7ec7
3 changes: 3 additions & 0 deletions pandas/core/dtypes/cast.py
Original file line number Diff line number Diff line change
Expand Up @@ -1416,6 +1416,9 @@ def convert_dtypes(
inferred_dtype = type(input_array)
return inferred_dtype
except:
# it is not a bare except, there is a pass statement
# In the event of an exception, it will not be
# a byte_string, so we process with other types
pass

if (
Expand Down
0