- Added isin() method
- Fixed several small bugs
- Added iterators: iterrows() and itertuples()
- Multiple bug fixes
- Speed improvements
- Removed using slices to set values which did not work
- Added sorted functionality
- Multiple bug fixes
- The index and columns data type follow the use_blist parameter
- Added set_locations() and get_locations() methods
- Added as_dict() parameter to get_columns()
- Changed the default for use_blist to False on object initialization
- Added append_row() method
- Added get_entire_column() method and changed get() to use that when asking for only a single column
- Bug fix where df[[columns]] would return wrong results with the column names not matching the correct column data
- Added index parameter to iterrows() and itertuples()
- Added reset_index() method
- Added methods to serialize and deserialize to JSON
- Fixed the from_json() for multi-index DataFrames
- to_json() will convert any non-serializable object to string representation
- Move to new version numbering scheme
- bug fix from_json() to work with empty DataFrames
- Added the ability to pass a function and arguments to the assert_frame_equal function to use when comparing data
- Added reverse argument to sort_columns()
- Added key argument to sort_columns()
- Moved from_json() to be a class method. This breaks previous API
- Added new get_location() method
- The get() method can now take as_dict parameter to pass to get_columns
- Added new get_index() method
- Several speed up improvements
This is a major release that adds the new Series classes but importantly breaks the DataFrame API by renaming the “sorted” argument with “sort” and all associated properties and setters. This is to remove the naming conflict with the builtin sorted function
- Added new Series class
- Added new ViewSeries class
- Fix performance bug in the select_index() function in DataFrame
- Change sorted argument on DataFrame to sort
- Change sorted DataFrame property and setters to sort
Another potentially backwards incompatible change by making the .index properties to be a view and no longer a copy.
- Changes the DataFrame.index to return a view and not a copy.
- New get_slice() method for sorted DataFrames
- Changed  on sort DataFrames to use get_slice() on slices
- New set_location() method for DataFrame
- New append_rows() method for DataFrame
- Changed the Series.data and Series.index properties to return a view and not a copy
- New get_slice() method for sorted Series
- New set_location() method
- New append_rows() method for Series
- Added columns=None default to get_column() on DataFrame
- Fix bug in get_slice for empty DataFrames
- Fix bug in DataFrame append for empty DataFrames
- Added delete_all_rows() to DataFrame
- Added from_series() to ViewSeries to create a ViewSeries from a Series
- Made dataframe and all Series __slots__ classes. This should reduce memory footprint and increase speed ~5%
- get_location() method of DataFrame will now return single value if single column argument passed and not list
This is a major release with many breaking changes. If you are using Python 2.7 do not upgrade.
- Python 2.7 support is dropped. This and all future releases are Python3 only
- .show() method has been renamed .print() to be consistent with Python standards
- Major change to the API for using drop-in replacements like blist and removing blist as an installation requirement.
The refactoring was driven by two needs. The first was to consistently accommodate other drop-in list replacements. The second was that blist was no longer maintained and having it as a dependency for the entire raccoon package created difficulties with installation. Now the sole package dependency is tabulate and that is a pure python package.
What were the issues with blist?
- blist does not have a published wheel on PyPi which makes it a difficult requirement for most people to install
- the conda blist package does not support Python 3.7 on Windows
- Because of the following error it will cease working in 3.8 if not resolved and there seems to be no active development:
- Using or importing the ABCs from ‘collections’ instead of from ‘collections.abc’ is deprecated, and in 3.8 it will stop working
Can I still use blist?
Yes the new refactoring allows any list drop-in replacement, including blist, to be used but just no longer makes blist an installation requirement.