ml_dataframe 0.0.11

  • Readme
  • Changelog
  • Installing
  • 64

Build Status Coverage Status pub package Gitter Chat

ml_dataframe #

A way to store and manipulate data

Changelog #

0.0.11 #

  • dtype parameter removed from the DataFrame's constructor
  • dtype parameter added to toMatrix method

0.0.10 #

  • DataFrame.sampleFromSeries method's signature changed

0.0.9 #

  • dtype field added to DataFrame interface

0.0.8 #

  • xrange dependency removed
  • ml_linalg 12.0.* supported
  • dart sdk constraint changed to >=2.2.0 <3.0.0

0.0.7 #

  • xrange version locked

0.0.6 #

  • DataFrame: sampleFromSeries method added

0.0.5 #

  • DataFrame: dropSeries method added

0.0.4 #

  • DataFrame: fromMatrix constructor added

0.0.3 #

  • DataFrame helpers: series data is not cold iterable while series creating
  • DataFrame unit tests: redundant constructor parameters removed for some test cases

0.0.2 #

  • Redundant dependencies removed from dev_dependencies section

0.0.1 #

  • DataFrame: DataFrame entity with basic functionality added
  • Series: Series class added - the entity that is representing a column with its header

Use this package as a library

1. Depend on it

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


dependencies:
  ml_dataframe: ^0.0.11

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:


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

We analyzed this package on Oct 11, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.5.1
  • pana: 0.12.21

Platforms

Detected platforms: Flutter, other

Primary library: package:ml_dataframe/ml_dataframe.dart with components: io.

Health suggestions

Fix lib/src/data_frame/factories/from_raw_data.dart. (-0.50 points)

Analysis of lib/src/data_frame/factories/from_raw_data.dart reported 1 hint:

line 6 col 8: Unused import: 'package:ml_linalg/dtype.dart'.

Format lib/src/data_frame/data_frame.dart.

Run dartfmt to format lib/src/data_frame/data_frame.dart.

Format lib/src/data_frame/data_frame_helpers.dart.

Run dartfmt to format lib/src/data_frame/data_frame_helpers.dart.

Fix additional 8 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/src/data_frame/data_frame_impl.dart (Run dartfmt to format lib/src/data_frame/data_frame_impl.dart.)
  • lib/src/data_frame/factories/from_csv.dart (Run dartfmt to format lib/src/data_frame/factories/from_csv.dart.)
  • lib/src/data_frame/factories/from_matrix.dart (Run dartfmt to format lib/src/data_frame/factories/from_matrix.dart.)
  • lib/src/data_frame/series.dart (Run dartfmt to format lib/src/data_frame/series.dart.)
  • lib/src/data_reader/csv_data_reader.dart (Run dartfmt to format lib/src/data_reader/csv_data_reader.dart.)
  • lib/src/data_reader/data_reader.dart (Run dartfmt to format lib/src/data_reader/data_reader.dart.)
  • lib/src/data_reader/file_factory/file_factory.dart (Run dartfmt to format lib/src/data_reader/file_factory/file_factory.dart.)
  • lib/src/numerical_converter/numerical_converter_impl.dart (Run dartfmt to format lib/src/numerical_converter/numerical_converter_impl.dart.)

Maintenance suggestions

The package description is too short. (-14 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and ml_dataframe.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.2.0 <3.0.0
csv ^4.0.0 4.0.3
ml_linalg ^12.0.2 12.3.0
quiver ^2.0.2 2.0.5
Transitive dependencies
injector 1.0.8
matcher 0.12.5
meta 1.1.7
path 1.6.4
stack_trace 1.9.3
xrange 0.0.8
Dev dependencies
benchmark_harness >=1.0.0 <2.0.0
build_runner ^1.1.2
build_test ^0.10.2
grinder ^0.8.3
ml_tech ^0.0.5
mockito ^3.0.0
test ^1.2.0