File tree Expand file tree Collapse file tree
core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,6 +35,13 @@ import kotlin.uuid.Uuid
3535public val DataFrame .Companion .parser: GlobalParserOptions
3636 get() = Parsers
3737
38+ @Refine
39+ @Interpretable(" ParseDefault" )
40+ public fun <T > DataFrame<T>.parse (options : ParserOptions ? = null): DataFrame <T > =
41+ parse(options) {
42+ colsAtAnyDepth().filter { ! it.isColumnGroup() }
43+ }
44+
3845@Refine
3946@Interpretable(" Parse" )
4047public fun <T > DataFrame<T>.parse (options : ParserOptions ? = null, columns : ColumnsSelector <T , Any ?>): DataFrame <T > =
@@ -329,11 +336,6 @@ public fun DataColumn<String?>.tryParse(options: ParserOptions? = null): DataCol
329336public fun DataColumn<Char?>.tryParse (options : ParserOptions ? = null): DataColumn <* > =
330337 map { it?.toString() }.tryParseImpl(options)
331338
332- public fun <T > DataFrame<T>.parse (options : ParserOptions ? = null): DataFrame <T > =
333- parse(options) {
334- colsAtAnyDepth().filter { ! it.isColumnGroup() }
335- }
336-
337339/* *
338340 * Tries to parse a column of strings into a column of a different type.
339341 * Each parser in [Parsers] is run in order until a valid parser is found,
You can’t perform that action at this time.
0 commit comments