prefered future syntax
whats your favorite future (saqc) syntax ?
lets collect what possibilities you see, what you like or dont, etc.. at the moment letz not fokus on whats possible or what's better or worse. I mean, we shouldnt argue too much at first, instead lets see what we, or each of us or any contributor like. and have a discussion later.
in my opinon we should mainly fokus on:
- how to add/remove/copy/rename etc variables/data eg.
saqc['v1'] = pd.Series(...)
orsaqc.new(pd.Series(...name='v1))
- how to call a test
- how to select a subset of variables for a test
- how to write the results to a new/existing variable
Anything goes, minimum condition: valid python syntax..
some random examples, no order, no preferences (yet), just as inspiration:
(
saqc[['v0','v1']]
.breaks.flagRange().flagFoo()
.constants.flagConstant()
)
saqc['v1'] = flagRange(saqc['v1'])
saqc['v1'] = saqc['v1'].flagRange()
saqc.flagRange('v1')
saqc.copyVar('v9', 'v0').flagRange('v1')
saqc['v9'] = saqc['v1'].flagRange()
(
saqc
.var[['v1']]
.mask('v1')
.inplace.flagFoo().flagBar()
.var[['v3', 'v9']]
.inplace.flagFoo().flagBar()
)
saqc = flagFoo(saqc, ['var0', 'var1'])
saqc = saqc.flagFoo(['var0', 'var1'])
saqc['v0'] = saqc['v1','inplace','force'].flagFoo()