- Allow empty sequence expressions
seq()
,pseq()
(#159) - Add
no_wrap
option tohead()
,head_option()
,first()
,last()
andlast_option()
, as well as toseq()
,pseq()
andSequence
constructor
- added precompute attribute to reverse transformation (#137)
- Update setup.py dill to requirements.txt (#138)
- Docstring of tail fixed (#140)
- adding extend feature (#144)
- Fix Broken link in readme
- Loosen version requirements #129
- Fix lint errors
- Fix StopIteration errors for Python 3.7 #132
- Drop support for python 3.4
- Fix bug in
partition
#124
- Implemented optimized version of
reduce_by_key
- Implemented
count_by_key
- Implemented
count_by_value
- Implemented
accumulate
#104 - Fix bug in
grouped
#123 - Fix bug in
to_csv
#123 - Fix bug with incorrect wrapping of pandas dataframes #122
- Allow variance on versions of certain packages: #117 and #116
- Various typo fixes
- Various CI fixes
- Fix issue with
first/head
evaluating entire sequence https://github.com/EntilZha/PyFunctional/commit/fb8f3686cf94f072f4e6ed23a361952de1447dc8 - Drop CI testing and official support for Python 3.3
- Make import much faster by loading pandas more lazily #99
Reaching 1.0
primarily means that API stability has been reached so I don't expect to run into many new breaking changes.
- Added optional initial value for
reduce
(#86) - Added table of contents to readme (#88)
- Added data interchange tutorial with pandas (https://github.com/EntilZha/PyFunctional/blob/master/examples/PyFunctional-pandas-tutorial.ipynb)
- Implemented
itertools.starmap
asSequence.starmap
andSequence.smap
(#90) - Added interface to
csv.DictReader
viaseq.csv_dict_reader
(#92) - Improved
_html_repr_
,show
andtabulate
by auto detecting named tuples as column names (#91) - Improved
_html_repr_
andshow
to tell the user 10 of N rows are being shown if there are more than 10 rows (#94)
- Bumped version dependencies (#89)
- Added Python 3.6 via Travis CI testing
- Implemented pretty html repr for Jupyter
- Implemented proper parsing of pandas DataFrames
- Detect when its possible to pretty print a table and do so
list
/to_list
have a parametern
to limit number of results
- Fixed bug where
grouped
unnecessarily forces precomputation of sequence - Remove package installations from default requirements that sometimes break installation on barebones systems in python 2.7
- Auto parallelization by using
pseq
instead ofseq
. Details at #47 - Parallel functions:
map
,select
,filter
,filter_not
,where
,flatten
, andflat_map
- Compressed file IO support for
gzip
/lzma
/bz2
as detailed at #54 - Cartesian product from
itertools.product
implemented asPipeline.cartesian
- Website at pyfunctional.pedro.ai and docs at docs.pyfunctional.pedro.ai
- No option for encoding in
to_json
#70
- Pinned versions of all dependencies
- Thanks to versae for implementing most of the
pseq
feature! - Thanks to ChuyuHsu for implemented large parts of the compression feature!
- Added support for reading to and from SQLite databases
- Change project name to
PyFunctional
fromScalaFunctional
- Added
to_pandas
call integration
- Changed code quality check service
- Added delimiter option on
to_file
Sequence.sliding
to create a sliding window from a list of elements
- Changed all relative imports to absolute imports with
__future__.absolute_import
- Fixed case where
_wrap
is changing named tuples to arrays when it should preserve them - Fixed documentation on
to_file
which incorrectly copied fromseq.open
delimiter parameter - Fixed
Sequence.zip_with_index
behavior. used to mimicenumerate
by zipping on the left size while scala and spark do zip on the right side. This introduces different behavior and more flexible behavior in combination withenumerate
A start parameter was also added like inenumerate
Fix python 3 build error due to wheel installation of enum34. Package no longer depends on enum34
- Official and tested support for python 3.5. Thus
ScalaFunctional
is tested on Python 2.7, 3.3, 3.4, 3.5, pypy, and pypy3 aggregate
from LINQorder_by
from LINQwhere
from LINQselect
from LINQaverage
from LINQsum
modified to allow LINQ projected sumproduct
modified to allow LINQ projected productseq.jsonl
to read jsonl filesseq.json
to read json filesseq.open
to read filesseq.csv
to read csv filesseq.range
to create range sequencesSequence.to_jsonl
to save jsonl filesSequence.to_json
to save json filesSequence.to_file
to save filesSequence.to_csv
to save csv files- Improved documentation with more examples and mention LINQ explicitly
- Change PyPi keywords to improve discoverability
- Created Google groups mailing list
fold_left
andfold_right
had incorrect order of arguments for passed function