Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
b80b7ce
Fix run tests
PokhodenkoSA Apr 13, 2020
26fc554
expectedFailure
PokhodenkoSA Apr 16, 2020
9b84436
expectedFailure-2
PokhodenkoSA Apr 30, 2020
cd62575
expectedFailure-3
PokhodenkoSA Apr 30, 2020
ec6303e
expectedFailure-4
PokhodenkoSA Apr 30, 2020
f55f319
Conda recipe numba==0.49
PokhodenkoSA Apr 16, 2020
1a8fbb0
Refactor imports from Numba
PokhodenkoSA Apr 2, 2020
4d76f32
Unskip tests
PokhodenkoSA May 1, 2020
79d17a6
Fix using of numpy_support.from_dtype()
PokhodenkoSA Apr 14, 2020
44e66c0
Unskip tests
PokhodenkoSA Apr 16, 2020
eb1b4e4
Fix DataFrame tests with rewrite IR without Del statements
PokhodenkoSA Apr 14, 2020
241c049
Unskip tests
PokhodenkoSA Apr 16, 2020
6630b26
Fix corr_overload with type inference error for none < 1
PokhodenkoSA Apr 14, 2020
ed5c5f7
Unskip tests
PokhodenkoSA Apr 16, 2020
13233fe
Fix hpat_pandas_series_cov with type inference error for none < 2
PokhodenkoSA Apr 14, 2020
3d09c7a
Unskip tests
PokhodenkoSA Apr 16, 2020
50c525f
Fixed iternext_series_array with using _getitem_array1d.
PokhodenkoSA Apr 14, 2020
10e07d5
Unskip tests
PokhodenkoSA Apr 16, 2020
a1aa1e3
Unskip old test
PokhodenkoSA Apr 30, 2020
6129700
Fix Series.at
PokhodenkoSA Apr 30, 2020
3ec46e1
Unskip tests
PokhodenkoSA Apr 30, 2020
94cede8
Merge branches 'numba-0.49-fix-csv', 'numba-0.49-fix-df-rewrite', 'nu…
PokhodenkoSA May 1, 2020
b30283b
Merge branch 'master' into numba-0.49.0-all
PokhodenkoSA May 13, 2020
7f85c13
Merge branch 'master' into numba-0.49.0-all
PokhodenkoSA May 13, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix Series.at
  • Loading branch information
PokhodenkoSA committed May 1, 2020
commit 6129700a299e8e751e70653a29326534b49841da
6 changes: 3 additions & 3 deletions sdc/datatypes/hpat_pandas_series_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,13 +247,13 @@ def hpat_pandas_series_loc_impl(self, idx):
if isinstance(idx, (int, types.Integer, types.UnicodeType, types.StringLiteral)):
def hpat_pandas_series_at_impl(self, idx):
index = self._series.index
check = False
count = 0
mask = numpy.empty(len(self._series._data), numpy.bool_)
for i in numba.prange(len(index)):
mask[i] = index[i] == idx
if mask[i] == True: # noqa
check = True
if check != True: # noqa
count += 1
if count == 0: # noqa
raise ValueError("Index is not in the Series")
return self._series._data[mask]

Expand Down