• CHANGELOG.md
• Installing
• Versions
• 46

# 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

``````
dependencies:
grizzly_series: "^0.0.23-dev"

``````

### 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';
``````
0.0.23-dev Oct 29, 2017
0.0.22-dev Oct 28, 2017
0.0.21-dev Oct 28, 2017
0.0.20-dev Oct 27, 2017
0.0.19-dev Oct 27, 2017
0.0.18-dev Oct 27, 2017
0.0.17-dev Oct 27, 2017
0.0.16-dev Oct 24, 2017
0.0.15-dev Oct 24, 2017
0.0.14-dev Oct 23, 2017

## Analysis

This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

• tool failures on Feb 16, 2018
• Dart: 2.0.0-dev.20.0
• pana: 0.10.1

#### Scores

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

#### Platforms

Detected platforms: unsure

Error(s) prevent platform classification.

#### Suggestions

• Fix `lib/src/array2d/string/string_array2d.dart`.

Strong-mode analysis of `lib/src/array2d/string/string_array2d.dart` failed with the following error:

line: 4 col: 24
The name 'Array' isn't a type so it can't be used as a type argument.

• Fix `lib/src/array2d/string/string_view_array2d.dart`.

Strong-mode analysis of `lib/src/array2d/string/string_view_array2d.dart` failed with the following error:

line: 4 col: 24
The name 'ArrayView' isn't a type so it can't be used as a type argument.

• Fix further 18 Dart files.

Similar analysis of the following files failed:

• lib/src/array2d/string/string_fix_array2d.dart
• lib/src/array2d/numeric.dart
• lib/src/array2d/bool/bool_array2d.dart
• lib/src/array2d/bool/bool_view_array2d.dart
• lib/src/array2d/bool/bool_fix_array2d.dart
• lib/src/array2d/array2d.dart
• lib/src/array2d/int/int_view_array2d.dart
• lib/src/array2d/int/int_array2d.dart
• lib/src/array2d/int/int_fix_array2d.dart
• lib/src/array2d/double/double_fix_array2d.dart
• lib/src/array2d/double/double_array2d.dart
• lib/src/array2d/double/double_view_array2d.dart
• lib/src/data_frame/data_frame.dart
• lib/src/array/numeric.dart
• lib/src/array/array.dart
• lib/src/array/int/int_view_array.dart
• lib/src/array/double/double_view_array.dart
• lib/grizzly_series.dart
• Fix platform conflicts.

Make sure none of the libraries use mutually exclusive dependendencies.

• Fix issues reported by `dartanalyzer`.

`dartanalyzer` reported 3 error(s) and 0 warning(s).

• Package is pre-release.

Pre-release versions should be used with caution, their API may change in breaking ways.

• 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_primitives ^0.0.1 0.0.9 0.1.0
grizzly_scales ^0.0.3-dev 0.0.3-dev
Transitive dependencies
meta 1.1.2
Dev dependencies
test ^0.12.0