remove extraneous whitespace

This commit is contained in:
nrstott 2018-06-30 20:59:17 -04:00
parent 7b395d607b
commit bd9b328012

View File

@ -111,7 +111,7 @@ def pandas_input_fn(x,
raise ValueError('Index for x and y are mismatched.\nIndex for x: %s\n'
'Index for y: %s\n' % (x.index, y.index))
if isinstance(y, pd.DataFrame):
y_columns = [(column, _get_unique_target_key(x, column))
y_columns = [(column, _get_unique_target_key(x, column))
for column in list(y)]
target_column = [v for _, v in y_columns]
x[target_column] = y