Skip to content
Snippets Groups Projects
Commit 0c04ec6d authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

DOC: docstring

parent a7f5c7ec
No related branches found
No related tags found
1 merge request!22Release 0.3
...@@ -99,6 +99,8 @@ class XLS_Importer(object): ...@@ -99,6 +99,8 @@ class XLS_Importer(object):
converts an xls file into a Pandas DataFrame. converts an xls file into a Pandas DataFrame.
The converters of the XLS_Importer object are used. The converters of the XLS_Importer object are used.
Raises: DataInconsistencyError
""" """
try: try:
xls_file = pd.io.excel.ExcelFile(filename) xls_file = pd.io.excel.ExcelFile(filename)
...@@ -137,6 +139,8 @@ class XLS_Importer(object): ...@@ -137,6 +139,8 @@ class XLS_Importer(object):
""" """
checks whether all required columns, i.e. columns for which converters checks whether all required columns, i.e. columns for which converters
were defined exist. were defined exist.
Raises: DataInconsistencyError
""" """
for col in self.required_columns: for col in self.required_columns:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment