Skip to content

Commit

Permalink
convertRowsToSeries, convertSeriesToRows fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gyrdym committed Feb 6, 2021
1 parent 575119a commit d2f7923
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
@@ -1,7 +1,7 @@
# Changelog

## 0.4.1
- `DataFrame`:
- `DataFrame`: series-to-rows and rows-to-series converters issues fixed

## 0.4.0
- `DataFrame`: `fromRawCsv` constructor added
Expand Down
2 changes: 1 addition & 1 deletion lib/src/data_frame/helpers/convert_series_to_rows.dart
Expand Up @@ -7,7 +7,7 @@ Iterable<Iterable<dynamic>> convertSeriesToRows(Iterable<Series> series) sync* {

while (iterators.fold(true, (isActive, iterator) => iterator.moveNext())) {
yield iterators
.map<dynamic>((iterator) => iterator.current)
.map((iterator) => iterator.current)
.toList(growable: false);
}
}

0 comments on commit d2f7923

Please sign in to comment.