Machine Learning, Deep Learning, Cryptocurrency Investment, Algorithmic Trading, Neural Networks.
pd.Timedelta(days=1): timeframe = '1d' elif timeframe_diff == pd.Timedelta(weeks=1): timeframe = '1w' else: timeframe = 'Not sure' # print('timeframe is - ', timeframe) # Remove rows containing inf or nan values df.dropna(inplace=True) # Scaling scaler = MinMaxScaler(feature_range=(0,1)) X =