what is the difference between using data class and interface when working with DataSchema annotation. Also is it possible to define different attribute name for the property which is different from the dataframe column…?
There's no difference, from DataFrame's perspective. However, if you want to more easily instantiate row instances, it's easier to use a data class 🙂