flow php

Select / Drop

Select

To quickly select only relevant entries use Rows DataFrame::select

<?php 

data_frame()
    ->read(from_array(...))
    ->select("id", "name")
    ->write(to_output())
    ->run();

Drop

To quickly drop irrelevant entries use Rows DataFrame::drop

<?php 

data_frame()
    ->read(from_array(...))
    ->drop("_tags")
    ->write(to_output())
    ->run();

Contributors

Join us on GitHub external resource
scroll back to top