Releases: has2k1/plydata
Releases · has2k1/plydata
v0.4.3
v0.4.2
v0.4.1
v0.4.0
v0.3.3
v0.3.1
v0.3.0
This release a number significant additions and bug fixes. Below is a copy of the changelog.
Bug Fixes
- Fixed
define
(mutate) andcreate
(transmute), make them work withgroup_by
. - Fixed
tally
to work with external arrays. - Fixed
tally
to sort in descending order. - Fixed the
nth
function ofsummarize
to return NaN when the requested value is out of bounds. - The
contains
andmatches
parameters ofselect
can now accept a tuple of values. - Fixed verbs that create columns (i.e
create
,define
anddo
) so that they can create categorical columns. - The join verbs gained
left_on
andright_on
parameters. - Fixed verb reuse. You can create a verb and assign it to a variable and pipe to the same variable in different operations.
- Fixed issue where
select
does maintain the order in which the columns are listed.
New Features
-
Added special verb
call
, it allows one to use external functions that accept a dataframe as the first argument. -
For
define
,create
andgroup_by
, you can now use the special functionn()
to count the number of elements in current group. -
Added the single table helper verbs:
- add_count
- add_tally
- arrange_all
- arrange_at
- arrange_if
- create_all
- create_at
- create_if
- group_by_all
- group_by_at
- group_by_if
- mutate_all
- mutate_at
- mutate_if
- query_all
- query_at
- query_if
- rename_all
- rename_at
- rename_if
- summarize_all
- summarize_at
- summarize_if
-
Added
pull
verb. -
Added
slice_rows
verb.
API Changes
- Using internal function for
summarize
that counts the number of elements in the current group changed from{n}
ton()
. - You can now use piping with the two table verbs (the joins).
modify_where
anddefine_where
helper verbs have been removed. Using the new expression helper functionscase_when
andif_else
is more readable.- Removed
dropna
andfillna
in favour of usingcall
withpandas.DataFrame.dropna()
andpandas.DataFrame.fillna()
.
Version 0.1.1
Re-release of version 0.1.0 without the universal wheels since the project does not support Python 2.
Version 0.1.0
First release. All the expected data manipulation verbs for the pandas dataframe are implemented.