mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
applymap -> map
This commit is contained in:
parent
c0d729bcd9
commit
2dfa9ac13c
|
@ -280,7 +280,7 @@ def test_public_trades_put_volume_profile_into_ohlcv_candles(public_trades_list_
|
|||
|
||||
# Select the second candle (index 1) and attempt to assign the volume profile data
|
||||
# (as a DataFrame) to the 'vp' element.
|
||||
candles.loc[candles.index == 1, ["vp"]] = candles.loc[candles.index == 1, ["vp"]].applymap(
|
||||
candles.loc[candles.index == 1, ["vp"]] = candles.loc[candles.index == 1, ["vp"]].map(
|
||||
lambda x: pd.DataFrame(df.to_dict())
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user