-
Notifications
You must be signed in to change notification settings - Fork 370
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
Metadata: follow-up notes #3168
Comments
How about this? (I assume this is right? Or can you add metadata to "Notably, metadata is not supported for GroupedDataFrame and you can't add, modify, nor view metadata through the GroupedDataFrame itself, only through its parent." (Edited to follow @nalimilan's suggestion below) |
I'm not too worried by the confusion either. IMO it would be a problem only if The phrasing proposed by @eirikbrandsaas about |
One more comment: How about adding a sentence or two about the correct/proper/recommended way to test if a metadata field exists? |
This is the point of having |
These are suggestions @eirikbrandsaas from Slack, with my responses:
"does not expose" means that even if data frame underlying GroupedDataFrame has metadata then if you query GroupedDataFrame for metadata it will return that no metadata is associated to it. That is why it says "does not expose".
@eirikbrandsaas - how would you phrase this more clearly?
@nalimilan - what do you think?
For me keeping
style
would be acceptable. Especially that I do not expect that many users will callmetadata
withstyle=true
. This is mostly for internal purposes of metadata propagation.Also in general I expect that this low-level API will not be used much. When TableMetadataTools.jl package is created I plan to put there simpler functions that users would work with in typical scenarios.
I would keep blue for consistency. Especially that this is a warning added to be on the safe side. I do not expect that we will change the rules, but they might change so it is better to warn users about it.
The point is that we want users to use this feature without fearing that in 3 months all will change.
This will be added when more packages support metadata and TableMetadataTools.jl package is created. Now this would be quite cumbersome as at this stage we provide a low-level API only.
The text was updated successfully, but these errors were encountered: