-
Notifications
You must be signed in to change notification settings - Fork 76
Update a single row #1545
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
I've added this to the C 1.0 milestone as we'll need something like: |
I'm not sure this is something we want in the public API - wouldn't it be better to support updating a single row? If people are going to be updating multiple rows, then they should work column wise anyway. |
Gah, of course, forgetting the C milestone is for the public API. Was thinking this would just be used by the CPython code. |
Mind if we generalise this to "update single row" @benjeffery? No point in just focusing on the ragged columns here, we want an |
Removing C API tag as it's done there. |
The proposed syntax here is |
Can this be closed now? |
Closed by #1600 |
Discussed in #1543
Originally posted by hyanwong June 30, 2021
At the moment I think adding to the metadata arrays (e.g. on populations, individuals, or nodes) is quite intricate, and I have to look it up every time. I think it's something like this:
(it looks me about 10 minutes to look up how to do that, and the information is scattered all over the docs - I don't think a beginner could do it TBH).
Should we have some convenience methods to help with this? I quite often want to edit metadata on just a single entry in a table: e.g. label a particular individual, flag up a single node, etc.
We should also give an example of doing this in the metadata tutorial
The text was updated successfully, but these errors were encountered: