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

[Feature request] dedicated tutorial on updating database values #3638

Open
nick-youngblut opened this issue Jan 29, 2025 · 0 comments
Open

Comments

@nick-youngblut
Copy link

nick-youngblut commented Jan 29, 2025

Is your feature request related to a problem? Please describe.

It would be helpful to have a dedicated tutorial on updating values in a database (e.g., convert all NaN values in an obs metadata column to 0). I believe this would involve:

  • Querying
    • For NaN values, I've tried tiledbsoma.AxisQuery(value_filter='is_null(my_column)'), but that doesn't work.
  • Converting the obs metadata to a pandas dataframe
  • Modifying the values of interest (e.g., NaN => 0) in the dataframe
  • Updating the records of interest in the TileDB database
    • Really not sure how to do this

Describe alternatives you've considered

The existing tutorials, API docs, and getting help from LLMs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant