Skip to content

Candidates for removal #1028

@koperagen

Description

@koperagen

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())

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions