Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.
Prev Previous commit
Next Next commit
fix attr
  • Loading branch information
etotmeni committed Apr 14, 2020
commit 8947a6222476125942887cd70cfc6fb4d3423db3
4 changes: 2 additions & 2 deletions sdc/datatypes/hpat_pandas_dataframe_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1828,10 +1828,10 @@ def sdc_pandas_dataframe_accessor_getitem(self, idx):
col = idx[1].literal_value
return gen_df_getitem_tuple_at_impl(self.dataframe, row, col)

raise TypingError('Operator at(). The row parameter type ({}) is different from the index type\
raise TypingError('Attribute at(). The row parameter type ({}) is different from the index type\
({})'.format(type(idx[0]), type(self.dataframe.index.dtype)))

raise TypingError('Operator at(). The index must be a row and literal column. Given: {}'.format(idx))
raise TypingError('Attribute at(). The index must be a row and literal column. Given: {}'.format(idx))

if accessor == 'iat':
if isinstance(idx, types.Tuple) and isinstance(idx[1], types.Literal):
Expand Down