grizzly_series 0.4.2

Grizzly Series #

Pandas-like Series and DataFrames for Dart

Usage #

A simple usage example:

main() {
  final ages =
      new IntSeries<String>([20, 22, 35], indices: ['Jon', 'Dany', 'Tyrion']);
  final house = new StringSeries<String>(['Stark', 'Targaryan', 'Lannister'],
      indices: ['Jon', 'Dany', 'Tyrion']);

  final df = new DataFrame<String, String>(
      {'age': ages.data, 'house': house.data},
      indices: ages.indices);

  print(df['age']);
  print(df.index['Jon']);
  print(df.pos[2]);
}

TODO #

[ ] Series [ ] DataFrame [ ] Plotting [ ] Loading data [ ] Numpy functionality [ ] Interactive web interface [ ] Statistical functions

Changelog #

0.0.23 #

  • Stripped Pair, IntPair, Extent, Index, Index1D, Index2D into its own package grizzly_primitives

0.0.22 #

  • Bug fix: aRow constructor for 2D arrays
  • Renamed genColumns, aColumn and buildColumns to be concise

0.0.21 #

  • double2D to create 2D double arrays
  • Flexible int2D and array2D

0.0.20 #

  • Bug fixes for dot method on Array2D

0.0.19 #

  • Unary minus operator for arrays

0.0.18 #

  • exp for arrays

0.0.17 #

  • log, log10, logN for arrays

0.0.16 #

  • Fixed dot for Array2D

0.0.15 #

  • assign method on arrays

0.0.14 #

  • Convenient constructors on arrays

0.0.13 #

  • String 1d and 2d arrays

0.0.12 #

  • allTrue, allFalse, anyTrue, anyFalse methods on bool arrays

0.0.11 #

  • bool 1d and 2d arrays
  • isAllClose for double 1d and 2D arrays

0.0.10 #

  • view and fixed bug fixes
  • Flexible array creator convenient methods

0.0.9 #

  • Correlation and covariance methods on arrays
  • Generation based constructor for Array1D
  • Convenient methods for creation of Arrays

0.0.8 #

  • valueCounts for Array and Array2D

0.0.7 #

  • Introduced row and col accessors in Array2D
  • Row and column based numerical methods
  • Added cool constructors and static constructor methods to Int2D and Double2D
  • Implemented class hierarchy for Array2DView -> Array2DFix -> Array2D

0.0.6 #

Breaking

  • Made Array2D row major

0.0.5 #

  • Slicing of Array, Array2D

0.0.4 #

  • Read-only views and fixed size for Array

0.0.3 #

  • Mathematical operations for NumericSeries

0.0.2 #

  • Array, IntArray, DoubleArray
  • Extent, Pair, IntPair
  • pairByLabel, pairByPos, enumerate and enumerateSliced methods for Series

0.0.1 #

  • Half functional DataFrame, Series, Array

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  grizzly_series: ^0.4.2

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:grizzly_series/grizzly_series.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
--
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
--
Overall:
Weighted score of the above. [more]
0
Learn more about scoring.

The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.

Analysis issues and suggestions

Support Dart 2 in pubspec.yaml.

The SDK constraint in pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://dart.dev/dart-2#migration.

Maintenance issues and suggestions

Make sure dartdoc successfully runs on your package's source files. (-10 points)

Dependencies were not resolved.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.20.1 <2.0.0

Admin