-
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
Add get
function for AbstractDataFrame
#3281
Comments
we could add:
and
so @dgegen could get the expected behavior, but with @nalimilan - what do you think about it? |
IIRC we had this a long time ago, but we dropped it because it goes against the idea that data frames are collections of rows. It would have to be called |
@nalimilan - that is why I do not want to add it to Note that we now support both |
Woops, sorry. Why not then. :-) |
Added in #3282 |
Analogous to the syntax of the
df.get
function in Pandas, I propose to add the following function in src/abstractdataframe/iteration.jl, which I syntactically consider a conventional and convenient way to deal with cases where the return of default values is desired.Does anyone have additional suggestions, thoughts or opposing arguments?
Cheers!
The text was updated successfully, but these errors were encountered: