Matthieu Gomez
Matthieu Gomez
I think @pdeffebach was just disagreeing with my claim that combine with skipmissing = true is what Stata does (while mean ignores missing values, first gets the first element of...
We could also define the kwarg maskmissing, and use it for filter/combine/transform, rather than using a combination of passmissing/skipmissing kwarg. The definition of maskmissing is that it applies the operation...
For me the problem is that for now it requires different strategies for filter (which requires coalesce), combine (which requires skipmissing). Another issue with combine is the whole thing about...
@bkamins I am trying to understand your proposal: - What are you proposing for filter? It sounds like you mention two different solutions. - how would you handle transform with...
@bkamins you mentioned there might be a way to have ifelse, filter work with missing values in base. You really think so? Maybe that’s one way to go.
I was hoping that DataFramesMeta would just be DataFrames + a macro to create Pairs expressions (e.g. DataFramesMacros), but maybe that's the wrong way to look at it. My concern...
In Stata, mean of a variables creates a variable equal to the mean on non-missing rows, and missing values otherwise. Edit: no sorry it creases the mean for every rows....
@nalimilan Yes in the second case the mean is only given on rows that are not missing.
@bkamins sorry: I expect lag([1, missing]) to return [missing, 1]. I think with @nalimilan’s proposal and passmissing = true within a transform call, it would return [missing, missing]
+1. It would also be nice to have a `where!` version, as well as a `view` kwarg for `where`. Last thing is the name. I like `where`. The only issue...