Skip to content

Commit

Permalink
fix line lengths
Browse files Browse the repository at this point in the history
  • Loading branch information
reidy-p committed Nov 26, 2017
1 parent 6e6a5e0 commit 36a31ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -1279,8 +1279,8 @@ def from_items(cls, items, columns=None, orient='columns'):

except ValueError:
if not is_nested_list_like(values):
raise ValueError('The value in each (key, value) pair must '
'be an array, Series, or dict')
raise ValueError('The value in each (key, value) pair '
'must be an array, Series, or dict')

elif orient == 'index':
if columns is None:
Expand All @@ -1297,8 +1297,8 @@ def from_items(cls, items, columns=None, orient='columns'):

except TypeError:
if not is_nested_list_like(values):
raise ValueError('The value in each (key, value) pair must '
'be an array, Series, or dict')
raise ValueError('The value in each (key, value) pair '
'must be an array, Series, or dict')

else: # pragma: no cover
raise ValueError("'orient' must be either 'columns' or 'index'")
Expand Down

0 comments on commit 36a31ec

Please sign in to comment.