Skip to content
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

[BUG]: transform dataset failed to create a new column #5517

Closed
dgauldie opened this issue Nov 15, 2024 · 0 comments
Closed

[BUG]: transform dataset failed to create a new column #5517

dgauldie opened this issue Nov 15, 2024 · 0 comments
Assignees
Labels
bug Something isn't working Q&A Quality Assurance

Comments

@dgauldie
Copy link
Collaborator

Describe the issue
When trying to ask beaker to add a new column named timestamp that is a timestamp representation of the date column, the following error occured.

/tmp/ipykernel_23706/1580995843.py:1: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  filtered_df['timestamp'] = pd.to_datetime(filtered_df['date'])

Image

@dgauldie dgauldie added bug Something isn't working Q&A Quality Assurance labels Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Q&A Quality Assurance
Projects
None yet
Development

No branches or pull requests

3 participants