Skip to content

Conversation

@jasadams
Copy link
Contributor

@jasadams jasadams commented Jul 3, 2020

astype("string") does not allow numeric characters so it seems to be a bug where we are casting a field that we want to be a decimal as a "string". We should use "str" instead.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

… "string" resulting in "StringArray requires a sequence of strings or pandas.NA" error. Cast to "str" instead
@igorborgest igorborgest self-assigned this Jul 3, 2020
@igorborgest igorborgest added the bug Something isn't working label Jul 3, 2020
Copy link
Contributor

@igorborgest igorborgest left a comment

Choose a reason for hiding this comment

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

Thanks @jasadams!

@igorborgest igorborgest merged commit 2cc97b3 into aws:dev Jul 3, 2020
@josh-gree
Copy link

I know this is merged but I am getting similar issue coming from a column with UIDs in (thus digits in the string but not at start...) - perhaps we need same change here?

@igorborgest
Copy link
Contributor

@josh-gree, interesting... What are your UID column? Is it made of str objects or real uuid type?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants