Skip to content

Commit

Permalink
DataFrame.fromRawCsv constructor added
Browse files Browse the repository at this point in the history
  • Loading branch information
gyrdym committed Dec 29, 2020
1 parent c460cc1 commit 8ea1ba0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/src/data_frame/data_frame.dart
Expand Up @@ -71,10 +71,12 @@ abstract class DataFrame implements Serializable {
///
/// [columns] A collection of column indices that specifies which columns
/// should be extracted from the [data] and placed in the resulting [DataFrame]
/// Has a higher precedence than [columnNames]
///
/// [columnNames] A collection of column titles that specifies which columns
/// should be extracted from the [data] and placed in the resulting
/// [DataFrame]. It's also can be used with auto-generated column names.
/// The argument will be omitted if [columns] is provided
factory DataFrame(
Iterable<Iterable<dynamic>> data,
{
Expand Down Expand Up @@ -155,11 +157,13 @@ abstract class DataFrame implements Serializable {
/// autogenerated column titles
///
/// [columns] A collection of column indices that specifies which columns
/// should be extracted from the raw data and placed in the resulting [DataFrame]
/// should be extracted from the raw data and placed in the resulting [DataFrame].
/// Has a higher precedence than [columnNames]
///
/// [columnNames] A collection of column titles that specifies which columns
/// should be extracted from the raw data and placed in the resulting
/// [DataFrame]. It's also can be used with auto-generated column names.
/// The argument will be omitted if [columns] is provided
factory DataFrame.fromRawCsv(
String rawContent,
{
Expand Down

0 comments on commit 8ea1ba0

Please sign in to comment.