diff --git a/README.md b/README.md index 58687b6..145b252 100644 --- a/README.md +++ b/README.md @@ -747,10 +747,6 @@ user defined missing values in stata/sas where characters (a to z, A to Z, \_) w pyreadstat builds on top of Readstat and therefore inherits its limitations. Currently those include: -* XPT files v8 with labels are not read correctly (see [here](/~https://github.com/WizardMac/ReadStat/issues/208)) -* Cannot read sas7bdat dataset labels (see [here](/~https://github.com/WizardMac/ReadStat/issues/180)) -* Dates, datetimes and times in SPSS POR files are not translated to python dates, datetimes and times, but stay as - timestamps. (see [here](/~https://github.com/WizardMac/ReadStat/issues/160)) * Cannot write SAS sas7bdat. Those files can be written but not read in SAS and therefore are not supported in pyreadstat. (see [here](/~https://github.com/WizardMac/ReadStat/issues/98)) @@ -765,7 +761,7 @@ Converting data types from foreign applications into python some times also brin OverflowError: date value out of range ``` - The workarounds to deal with this include using the keyword argument disable_datetime_conversion so that you will + The workaround is to deal with this include using the keyword argument disable_datetime_conversion so that you will get numbers instead of datetime objects or skipping reading such columns with the argument usecols. ## Python 2.7 support. @@ -777,8 +773,10 @@ At the moment of writing this document Python 2.7 does not work for windows. It does work for Mac and Linux. In Mac and Linux, files cannot be opened if the path contains international (non-ascii) characters. As mentioned before this bug is not going to be repaired (There is not such issue on -Python 3). +Python 3). +Starting on version 1.0.6 wheels are not produced for Python 2.7 anymore, +but you can still compile on linux and mac. ## Change log diff --git a/change_log.md b/change_log.md index 8392029..2ce822b 100644 --- a/change_log.md +++ b/change_log.md @@ -1,3 +1,8 @@ +# 1.0.6 (github, pypi and conda 2020.12.17) +* Updated Readstat to version 1.1.5, this fixes: reading sas7bdat file labels, + reading newer por files date-like columns, and few others. +* Corrected writing columns with numpy.float32 format. + # 1.0.5 (github, pypi and conda 2020.11.13) * fixed sharing permissions when reading files on windows, fixes #87 diff --git a/docs/_build/doctrees/environment.pickle b/docs/_build/doctrees/environment.pickle index 0c77f84..1925735 100644 Binary files a/docs/_build/doctrees/environment.pickle and b/docs/_build/doctrees/environment.pickle differ diff --git a/docs/_build/doctrees/index.doctree b/docs/_build/doctrees/index.doctree index 7ec81b4..5cf09e8 100644 Binary files a/docs/_build/doctrees/index.doctree and b/docs/_build/doctrees/index.doctree differ diff --git a/docs/_build/html/.buildinfo b/docs/_build/html/.buildinfo index e09ce27..43a9f32 100644 --- a/docs/_build/html/.buildinfo +++ b/docs/_build/html/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 0e6aa8dad2e26ffbb7cd3a5536c8b463 +config: 91713509866076208214b3c819ac7b2d tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/_build/html/_sources/index.rst.txt b/docs/_build/html/_sources/index.rst.txt index 1fb749a..4f28294 100644 --- a/docs/_build/html/_sources/index.rst.txt +++ b/docs/_build/html/_sources/index.rst.txt @@ -35,6 +35,7 @@ object contains the following fields: in the value_labels coming from the sas7bcat file. * original_variable_types : a dict of variable name to variable format in the original file. For debugging purposes. * table_name : table name (string) + * file_label : file label (SAS) (string) * missing_ranges: a dict with keys being variable names. Values are a list of dicts. Each dict contains two keys, 'lo' and 'hi' being the lower boundary and higher boundary for the missing range. Even if the value in both lo and hi are the same, the two elements will always be present. This appears for SPSS (sav) files when using the diff --git a/docs/_build/html/_static/documentation_options.js b/docs/_build/html/_static/documentation_options.js index 8314691..42185a7 100644 --- a/docs/_build/html/_static/documentation_options.js +++ b/docs/_build/html/_static/documentation_options.js @@ -1,6 +1,6 @@ var DOCUMENTATION_OPTIONS = { URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), - VERSION: '1.0.5', + VERSION: '1.0.6', LANGUAGE: 'None', COLLAPSE_INDEX: false, BUILDER: 'html', diff --git a/docs/_build/html/genindex.html b/docs/_build/html/genindex.html index 3e3988a..0f00dce 100644 --- a/docs/_build/html/genindex.html +++ b/docs/_build/html/genindex.html @@ -7,7 +7,7 @@ -