Tabular and Deep Learning for the Whittle Index