grizzly_series 0.2.2

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 67

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

1. Depend on it

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


dependencies:
  grizzly_series: "^0.2.2"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or packages 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';
        
Version Uploaded Documentation Archive
0.2.2 Mar 30, 2018 Go to the documentation of grizzly_series 0.2.2 Download grizzly_series 0.2.2 archive
0.2.0 Mar 25, 2018 Go to the documentation of grizzly_series 0.2.0 Download grizzly_series 0.2.0 archive
0.0.23-dev Oct 29, 2017 failed Download grizzly_series 0.0.23-dev archive
0.0.22-dev Oct 28, 2017 Go to the documentation of grizzly_series 0.0.22-dev Download grizzly_series 0.0.22-dev archive
0.0.21-dev Oct 28, 2017 Go to the documentation of grizzly_series 0.0.21-dev Download grizzly_series 0.0.21-dev archive
0.0.20-dev Oct 27, 2017 Go to the documentation of grizzly_series 0.0.20-dev Download grizzly_series 0.0.20-dev archive
0.0.19-dev Oct 27, 2017 Go to the documentation of grizzly_series 0.0.19-dev Download grizzly_series 0.0.19-dev archive
0.0.18-dev Oct 27, 2017 Go to the documentation of grizzly_series 0.0.18-dev Download grizzly_series 0.0.18-dev archive
0.0.17-dev Oct 27, 2017 Go to the documentation of grizzly_series 0.0.17-dev Download grizzly_series 0.0.17-dev archive
0.0.16-dev Oct 24, 2017 Go to the documentation of grizzly_series 0.0.16-dev Download grizzly_series 0.0.16-dev archive

All 23 versions...

Analysis

We analyzed this package on Apr 23, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.49.0
  • pana: 0.10.6

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
40 / 100
Health:
Code health derived from static analysis. [more]
93 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
98 / 100
Overall score:
Weighted score of the above. [more]
67
Learn more about scoring.

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:grizzly_series/grizzly_series.dart.

Suggestions

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 3 errors 3 hints.

    Strong-mode analysis of lib/src/data_frame/data_frame.dart failed with the following error:

    line: 476 col: 19
    The method 'range' isn't defined for the class 'Ranger'.

    Strong-mode analysis of lib/src/series/base/series_mixin.dart failed with the following error:

    line: 195 col: 11
    The method 'assign' isn't defined for the class 'Array<VT>'.

    Similar analysis of the following files failed:

    • lib/src/series/base/series_view_mixin.dart (error)
    • lib/src/series/double/double_series.dart (hint)
    • lib/src/series/series.dart (hint)
  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use grizzly_series.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.20.1 <2.0.0
grizzly_array ^0.2.2 0.2.2
grizzly_primitives ^0.2.4 0.2.5
grizzly_scales ^0.0.4-dev 0.0.6
text_table ^2.5.3 2.5.4
Transitive dependencies
collection 1.14.9
meta 1.1.2
Dev dependencies
test ^0.12.0