We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
cf.Field.filled
It would be useful to provide the filled method to Field objects - it is currently only defined on cf.Data (https://ncas-cms.github.io/cf-python/method/cf.Data.filled.html).
filled
Field
cf.Data
So, currently, to fill a field's missing values no in-place you have to do something like
>>> g = f.copy() >>> g.data.filled(0, inplace=True)
but it would be much nicer to be able to do, with the same result:
>>> f.filled(0, inplace=True)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
It would be useful to provide the
filled
method toField
objects - it is currently only defined oncf.Data
(https://ncas-cms.github.io/cf-python/method/cf.Data.filled.html).So, currently, to fill a field's missing values no in-place you have to do something like
but it would be much nicer to be able to do, with the same result:
The text was updated successfully, but these errors were encountered: