Sometimes, when dealing with a Spark data frame it may be necessary to reorder columns in a certain order. For example, to keep data consistent when trying to union two or more data frames with the same schema but different order of columns. Let's explore how that can be done relatively easy using a select()
Spark SQL function.
Sponsored
Wednesday, March 31, 2021
Reorder Columns in Spark DataFrame with Select() and Scala
Thursday, March 18, 2021
Incorrect ReSharper Behavior for CS1591 Warning
After upgrading from Visual Studio 16.8.x to 16.9.x the JetBrains ReSharper suddenly started marking a lot of public identifiers in the code as compiler errors with a message: "Missing XML comment for publicly visible type or member...". You can imagine how that can be very annoying.
Subscribe to:
Posts (Atom)