grizzly_series 0.4.2

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 75

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

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or flutter 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.4.2 May 29, 2018 Go to the documentation of grizzly_series 0.4.2 Download grizzly_series 0.4.2 archive
0.4.1 May 29, 2018 Go to the documentation of grizzly_series 0.4.1 Download grizzly_series 0.4.1 archive
0.3.2 May 28, 2018 Go to the documentation of grizzly_series 0.3.2 Download grizzly_series 0.3.2 archive
0.3.1 May 28, 2018 Go to the documentation of grizzly_series 0.3.1 Download grizzly_series 0.3.1 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 Go to the documentation of grizzly_series 0.0.23-dev 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

All 27 versions...

Analysis

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

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3

Scores

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

Platforms

Detected platforms: Flutter, web, other

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

Suggestions

  • 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.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 9 hints.

    Strong-mode analysis of lib/src/data_frame/data_frame.dart gave the following hint:

    line: 445 col: 19
    'between' is deprecated and shouldn't be used.

    Run dartfmt to format lib/src/series/base/series_mixin.dart.

    Similar analysis of the following files failed:

    • lib/src/series/base/series_view_mixin.dart (hint)
    • lib/src/series/bool/bool.dart (hint)
    • lib/src/series/double/double_fix.dart (hint)
    • lib/src/series/double/double_view.dart (hint)
    • lib/src/series/double/double_view_mixin.dart (hint)
    • lib/src/series/int/int_series.dart (hint)
    • lib/src/series/int/int_view.dart (hint)
  • 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.4.5 0.4.7
grizzly_primitives ^0.4.2 0.4.6
text_table ^2.5.4 2.5.4
Transitive dependencies
collection 1.14.10
meta 1.1.5
Dev dependencies
test ^0.12.0