You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We aim to stabilize API, but before that we need to remove a number of functions that do not bring clear value, don't seem useful. That includes shortcuts - things that can be easily replaced with other functions, or poorly designed API that can be re-introduced later, or things that don't have a use case
Here we'll keep a list of functions that can we consider for removal and want to hear from you. Please share your opinion if something should be kept as is
DataRow.isEmpty and DataRow.isNotEmpty - hard to imagine situation where it'd be used DataFrame.copy is useless DataRow.getRows() is a short cut that can be easily replaced with df().get(), and also hard to imagine a usecase
These two IMO should be renamed to addAll to give priority for add("col") { } which is a primary way to add columns public fun <T> DataFrame<T>.add(vararg columns: AnyBaseCol): DataFrame<T> = addAll(columns.asIterable()) public fun <T> DataFrame<T>.add(vararg dataFrames: AnyFrame): DataFrame<T> = addAll(dataFrames.asIterable())
The text was updated successfully, but these errors were encountered:
We aim to stabilize API, but before that we need to remove a number of functions that do not bring clear value, don't seem useful. That includes shortcuts - things that can be easily replaced with other functions, or poorly designed API that can be re-introduced later, or things that don't have a use case
Here we'll keep a list of functions that can we consider for removal and want to hear from you. Please share your opinion if something should be kept as is
DataRow.isEmpty
andDataRow.isNotEmpty
- hard to imagine situation where it'd be usedDataFrame.copy
is uselessDataRow.getRows()
is a short cut that can be easily replaced withdf().get()
, and also hard to imagine a usecaseThese two IMO should be renamed to
addAll
to give priority foradd("col") { }
which is a primary way to add columnspublic fun <T> DataFrame<T>.add(vararg columns: AnyBaseCol): DataFrame<T> = addAll(columns.asIterable())
public fun <T> DataFrame<T>.add(vararg dataFrames: AnyFrame): DataFrame<T> = addAll(dataFrames.asIterable())
The text was updated successfully, but these errors were encountered: