Machine Learning, Deep Learning, Cryptocurrency Investment, Algorithmic Trading, Neural Networks.
infinite values: nan_count = df['Target'].isnull().sum() inf_count = (df['Target'] == np.inf).sum() + (df['Target'] == -np.inf).sum() print("Number of NaN values:", nan_count) print("Number of infinite values:", inf_count) # Get the indices of NaN and infinite values: nan_indices =