diff --git a/README.md b/README.md index 15d2788..5da655e 100644 --- a/README.md +++ b/README.md @@ -267,6 +267,7 @@ import pandas as pd import pyreadstat df = pd.DataFrame([[1,2.0,"a"],[3,4.0,"b"]], columns=["v1", "v2", "v3"]) +# column_labels can also be a dictionary with variable name as key and label as value column_labels = ["Variable 1", "Variable 2", "Variable 3"] pyreadstat.write_sav(df, "path/to/destination.sav", file_label="test", column_labels=column_labels) ``` diff --git a/change_log.md b/change_log.md index 62f2ff4..d6ff5e9 100644 --- a/change_log.md +++ b/change_log.md @@ -1,3 +1,8 @@ +# 1.1.1 (github, pypi and conda 2021.03.02) +* Using os.fsencode when reading file paths to support file system encoding and Path-like objects (#123) +* Updated Readstat source to version 1.1.6, fixes #117 +* Accepting dict as the column_label parameter for writing functions. + # 1.1.0 (github, pypi and conda 2021.03.02) * added meta.readstat_variable_types to track the type of binary variable in the original file. diff --git a/docs/_build/doctrees/environment.pickle b/docs/_build/doctrees/environment.pickle index f62e5ea..5ceb0b6 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 c5108db..890cb72 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 ee8caf2..43bba1f 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: 89e3764c88180734062ff2f9a49c4829 +config: 04378632c637137cdb0d4ae75e4e8ea6 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/_build/html/_static/documentation_options.js b/docs/_build/html/_static/documentation_options.js index 584dfc5..b283bb6 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.1.0', + VERSION: '1.1.1', LANGUAGE: 'None', COLLAPSE_INDEX: false, BUILDER: 'html', diff --git a/docs/_build/html/genindex.html b/docs/_build/html/genindex.html index 44cd3f9..35acbcd 100644 --- a/docs/_build/html/genindex.html +++ b/docs/_build/html/genindex.html @@ -7,7 +7,7 @@ - Index — pyreadstat 1.1.0 documentation + Index — pyreadstat 1.1.1 documentation @@ -245,7 +245,7 @@

W

- © Copyright 2018-2020, Otto Fajardo + © Copyright 2018-2021, Otto Fajardo

diff --git a/docs/_build/html/index.html b/docs/_build/html/index.html index 9f6aea1..67fe901 100644 --- a/docs/_build/html/index.html +++ b/docs/_build/html/index.html @@ -7,7 +7,7 @@ - Welcome to pyreadstat’s documentation! — pyreadstat 1.1.0 documentation + Welcome to pyreadstat’s documentation! — pyreadstat 1.1.1 documentation @@ -210,7 +210,7 @@

Metadata Object Description
Parameters