Traceback (most recent call last):


 "testcase.py", line 8, in <module>

print(a.groupby(level=0).last())


 "/home/burk/.local/share/virtualenvs/timeseries-Gj3kjmJv/lib/python3.8/site-packages/pandas/core/series.py", line 1735, in groupby

return SeriesGroupBy(


 "/home/burk/.local/share/virtualenvs/timeseries-Gj3kjmJv/lib/python3.8/site-packages/pandas/core/groupby/groupby.py", line 525, in __init__

grouper, exclusions, obj = get_grouper(


 "/home/burk/.local/share/virtualenvs/timeseries-Gj3kjmJv/lib/python3.8/site-packages/pandas/core/groupby/grouper.py", line 773, in get_grouper

if is_in_obj(gpr):
# df.groupby(df['name'])


 "/home/burk/.local/share/virtualenvs/timeseries-Gj3kjmJv/lib/python3.8/site-packages/pandas/core/groupby/grouper.py", line 765, in is_in_obj

return gpr is obj[gpr.name]


 "/home/burk/.local/share/virtualenvs/timeseries-Gj3kjmJv/lib/python3.8/site-packages/pandas/core/series.py", line 888, in __getitem__

result = self._get_value(key)


 "/home/burk/.local/share/virtualenvs/timeseries-Gj3kjmJv/lib/python3.8/site-packages/pandas/core/series.py", line 989, in _get_value

loc = self.index.get_loc(label)


 "/home/burk/.local/share/virtualenvs/timeseries-Gj3kjmJv/lib/python3.8/site-packages/pandas/core/indexes/base.py", line 2895, in get_loc

return self._engine.get_loc(casted_key)


 "pandas/_libs/index.pyx", line 70, in pandas._libs.index.IndexEngine.get_loc


 "pandas/_libs/index.pyx", line 96, in pandas._libs.index.IndexEngine.get_loc


 "pandas/_libs/index.pyx", line 118, in pandas._libs.index.IndexEngine._get_loc_duplicates
TypeError: only integer scalar arrays can be converted to a scalar index

Traceback (most recent call last):


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/bin/nucypher-deploy", line 11, in <module>

load_entry_point('nucypher', 'console_scripts', 'nucypher-deploy')()


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/click/core.py", line 829, in __call__

return self.main(*args, **kwargs)


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/click/core.py", line 782, in main

rv = self.invoke(ctx)


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/click/core.py", line 1259, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/click/core.py", line 1066, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/click/core.py", line 610, in invoke

return callback(*args, **kwargs)


 "/Users/david/NuCypher/dev/nucypher/nucypher/cli/options.py", line 149, in wrapper

return func(**kwargs)


 "/Users/david/NuCypher/dev/nucypher/nucypher/cli/options.py", line 149, in wrapper

return func(**kwargs)


 "/Users/david/NuCypher/dev/nucypher/nucypher/cli/commands/deploy.py", line 457, in contracts

deployment_parameters=deployment_parameters)


 "/Users/david/NuCypher/dev/nucypher/nucypher/blockchain/eth/actors.py", line 300, in deploy_contract

**deployment_parameters)


 "/Users/david/NuCypher/dev/nucypher/nucypher/blockchain/eth/deployers.py", line 576, in deploy

**overrides)


 "/Users/david/NuCypher/dev/nucypher/nucypher/blockchain/eth/deployers.py", line 531, in _deploy_essential

**constructor_kwargs


 "/Users/david/NuCypher/dev/nucypher/nucypher/blockchain/eth/decorators.py", line 104, in wrapped

return func(*args, **kwargs)


 "/Users/david/NuCypher/dev/nucypher/nucypher/blockchain/eth/interfaces.py", line 806, in deploy_contract

confirmations=confirmations)


 "/Users/david/NuCypher/dev/nucypher/nucypher/blockchain/eth/decorators.py", line 104, in wrapped

return func(*args, **kwargs)


 "/Users/david/NuCypher/dev/nucypher/nucypher/blockchain/eth/interfaces.py", line 618, in send_transaction

confirmations=confirmations)


 "/Users/david/NuCypher/dev/nucypher/nucypher/blockchain/eth/interfaces.py", line 541, in sign_and_broadcast_transaction

receipt = self.client.wait_for_receipt(txhash, timeout=self.TIMEOUT)


 "/Users/david/NuCypher/dev/nucypher/nucypher/blockchain/eth/clients.py", line 258, in wait_for_receipt

receipt = self.w3.eth.waitForTransactionReceipt(transaction_hash=transaction_hash, timeout=timeout)


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/web3/eth.py", line 328, in waitForTransactionReceipt

return wait_for_transaction_receipt(self.web3, transaction_hash, timeout, poll_latency)


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/web3/_utils/transactions.py", line 101, in wait_for_transaction_receipt

txn_receipt = web3.eth.getTransactionReceipt(txn_hash)


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/web3/eth.py", line 340, in getTransactionReceipt

[transaction_hash],


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/web3/manager.py", line 149, in request_blocking

response = self._make_request(method, params)


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/web3/manager.py", line 128, in _make_request

return request_func(method, params)


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/web3/middleware/cache.py", line 134, in middleware

return make_request(method, params)


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/web3/middleware/cache.py", line 427, in middleware

response = make_request(method, params)


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/web3/middleware/cache.py", line 247, in middleware

return make_request(method, params)


 "cytoolz/functoolz.pyx", line 250, in cytoolz.functoolz.curry.__call__


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/web3/middleware/formatting.py", line 75, in apply_formatters

response = make_request(method, params)


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/web3/middleware/gas_price_strategy.py", line 34, in middleware

return make_request(method, params)


 "cytoolz/functoolz.pyx", line 250, in cytoolz.functoolz.curry.__call__


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/web3/middleware/formatting.py", line 73, in apply_formatters

response = make_request(method, formatted_params)


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/web3/middleware/attrdict.py", line 33, in middleware

response = make_request(method, params)


 "cytoolz/functoolz.pyx", line 250, in cytoolz.functoolz.curry.__call__


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/web3/middleware/formatting.py", line 75, in apply_formatters

response = make_request(method, params)


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/web3/middleware/normalize_errors.py", line 25, in middleware

result = make_request(method, params)


 "cytoolz/functoolz.pyx", line 250, in cytoolz.functoolz.curry.__call__


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/web3/middleware/formatting.py", line 75, in apply_formatters

response = make_request(method, params)


 "cytoolz/functoolz.pyx", line 250, in cytoolz.functoolz.curry.__call__


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/web3/middleware/formatting.py", line 73, in apply_formatters

response = make_request(method, formatted_params)


 "cytoolz/functoolz.pyx", line 250, in cytoolz.functoolz.curry.__call__


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/web3/middleware/formatting.py", line 75, in apply_formatters

response = make_request(method, params)


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/web3/middleware/exception_retry_request.py", line 105, in middleware

return make_request(method, params)


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/web3/providers/rpc.py", line 83, in make_request

**self.get_request_kwargs()


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/web3/_utils/request.py", line 35, in make_post_request

response.raise_for_status()


 "/Users/david/.local/share/virtualenvs/nucypher-cjt3uwkK/lib/python3.7/site-packages/requests/models.py", line 941, in raise_for_status

raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 429 Client Error: Too Many Requests for url: https://rinkeby.infura.io/v3/b05a9d95c9894b14a3fd96cf7c4c58b6
