Electronic configuration of the actinides
It is difficult to calculate the energy levels of the orbitals beyond hydrogen. "The first experimental evidence for the filling of the 5f shell in actinides was obtained by McMillan and Abelson in 1940," from Wikipedia

So the answer, as you suspected, is that experimental evidence from spectroscopy helped determine the electron configuration of the lanthanides and actinides, in particular.