Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/pyexcel/pyexcel-io
Browse files Browse the repository at this point in the history
  • Loading branch information
chfw committed Mar 14, 2017
2 parents 3a8e40d + 42f546c commit 6467f00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyexcel_io/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def get_data(afile, file_type=None, streaming=False, **keywords):
:param sheet_index: the index of the sheet to be loaded
:param file_type: used only when filename is not a physial file name
:param keywords: any other parameters
:returns: an array if it is a single sheet, an ordered dictionary otherwise
:returns: an ordered dictionary
"""
if isstream(afile) and file_type is None:
file_type = constants.FILE_FORMAT_CSV
Expand All @@ -43,10 +43,10 @@ def get_data(afile, file_type=None, streaming=False, **keywords):
def save_data(afile, data, file_type=None, **keywords):
"""Save data to an excel file source
Your data can be an array or an ordered dictionary
Your data must be a dictionary
:param filename: actual file name, a file stream or actual content
:param data: the data to be saved
:param data: a dictionary but an ordered dictionary is preferred
:param file_type: used only when filename is not a physial file name
:param keywords: any other parameters that python csv module's
`fmtparams <https://docs.python.org/release/3.1.5/
Expand Down

0 comments on commit 6467f00

Please sign in to comment.