India's wholesale inflation rose to 2.4% in October, driven by higher food prices, surpassing forecasts and reflecting increased retail inflation.