Skip to content

Latest commit

 

History

History
108 lines (72 loc) · 2.84 KB

RELEASENOTES.rst

File metadata and controls

108 lines (72 loc) · 2.84 KB

simpledbf 0.2.6 Release Notes

Bug Fixes

  • Fixed the pure-CSV output function. Fix contributed by @sarasafavi.

simpledbf 0.2.4 Release Notes

Highlights

  • Added data_columns, complib, and complevel keyword arguments to the to_pandashdf method. The function of these mirrors the equivalent arguments used in the Pandas HDFStore object and HDFStore.append method. See the Pandas docs for more information.

Bug Fixes

  • Added an index column to the CSV-based SQL output. This is necessary for selecting data from the SQL file, and also reading the SQL table back into a DataFrame at a later time.

simpledbf 0.2.3 Release Notes

Highlights

  • Added a pure-Python SQL option which writes a SQL table creation file and a header-less CSV file. This is much more efficient for uploading large data files to SQL.

API Changes

  • The default NaN value for float/int columns was changed to always be float('nan'). This is necessary for DBF->SQL->DF conversion, even though the CSV files now have 'nan' for all empty values.

simpledbf 0.2.2 Release Notes

Highlights

  • Added an optional 'codec' keyword argument to Dbf5 __init__, which controls the decoding of the values in the DBF file and CSV output file. Default is 'utf-8'
  • Made a couple small algorithmic changes that improved performance.

Bug Fixes

  • The 'na' flag now works properly. (In previous versions, it was always setting empty values to the string 'nan').
  • Properly set the string column width for HDF chunksize-only output. (The column width is set to max(string len) by default, which may not be the largest for every chunk. Used the dbf header info to fix this.)

simpledbf 0.2.1 Release Notes

Highlights

  • Added a 'na' keyword argument that controls the value of missing/bad data.
  • Set the default 'na' to the empty string ('') for CSV and NaN ('nan') for all others exports.

simpledbf 0.2.0 Release Notes

Functionality stays the same, but a few implementation details have changed. Tested with Python2, and everything except HDF export works fine.

Highlights

  • Empty strings are converted to Nan (ie float('nan')).
  • Added try/except clauses to all other types, so poorly formatted values will be returned as NaN as well. This may not be the behavior that is expected, so be careful.

simpledbf 0.1.0 Release Notes

First release.

Highlights

  • Pure-Python3 read of DBF files
  • Pure-Python3 write as CSV
  • Convert to DataFrame (Pandas required)
  • Convert to HDF5 table (Pandas and PyTables required)
  • Convert to SQL table (Pandas and SQLalchemy required)