import numpy as np
close_list = btc_df['close'].to_list()
close_array2 = np.array(close_list)
close_array2
%timeit kd_close = close_array / 1000
%timeit kd_close_list = [c / 1000 for c in close_list]
btc_df['market_cap'] = btc_df['close'] * btc_df['volume']
btc_df['market_cap']
np.log(btc_df['close'])
No comments:
Post a Comment