2017 © Pedro Peláez
 

library dataframe

lightweight lib to find/read/write files/csv files

image

zealot/dataframe

lightweight lib to find/read/write files/csv files

  • Thursday, May 17, 2018
  • by sturkin
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 100 % Grown

The README.md

Zealot/dataframe

Lib to work with csv files/assoc arrays like DB table. For now implemented only whereIn(); (yeap, been inspired by pandas), (*1)

Getting Started


$pathToCsvFile = '/tmp/csvfile_emails.csv'; $utils = new IOUtils(); $dataFrame = $utils->fromCsvFile($pathToCsvFile); $filteredDF = $dataFrame->filter()->whereIn('email', ['sturkin30@gmail.com'])->get(); foreach ($filteredDF->getAssocArrayIterator() as $line) { var_dump($line); } //$utils->toCsvFile($filteredDF,'path to file')

Installing

composer require zealot/dataframe

The Versions

17/05 2018

dev-master

9999999-dev https://github.com/sturkin/filesystem

lightweight lib to find/read/write files/csv files

  Sources   Download

MIT

The Requires

 

17/05 2018

2.0.0

2.0.0.0 https://github.com/sturkin/filesystem

lightweight lib to find/read/write files/csv files

  Sources   Download

MIT

The Requires

 

30/03 2018

1.0

1.0.0.0 https://github.com/sturkin/filesystem

lightweight lib to find/read/write files/csv files

  Sources   Download

MIT

The Requires