[FEATURE] Implicit column for dataframe API #86
Description
Is your feature request related to a problem? Please describe.
I find it very redundant and unnecessary to repeat typing a column reference for api functions that act on a single column dataframe.
Describe the solution you'd like
Implicitly determine the column for functions that are applied to dataframes with only one column. This could easily be done by checking length of [...this[__columns__]]
. This would be particularly useful for df.toArray()
since currently using it on a single column returns an array of single element arrays which I can't see any use case for. That said, I believe many other functions can be served from this feature and it will also reduce a lot of repetition.
Describe alternatives you've considered
Perhaps a new Series object similar to pandas library.
Additional context
N/A