Package com.leumanuel.woozydata.util
Class DataTransformUtil
java.lang.Object
com.leumanuel.woozydata.util.DataTransformUtil
Utility class for data transformation and formatting operations.
Provides methods for PowerBI compatibility and metadata generation.
- Version:
- 1.0
- Author:
- Leu A. Manuel
-
Constructor Details
-
DataTransformUtil
public DataTransformUtil()
-
-
Method Details
-
formatForPowerBI
Formats DataFrame data for PowerBI compatibility. Handles special data types and formatting requirements.- Parameters:
df- DataFrame to format- Returns:
- Formatted DataFrame compatible with PowerBI
-
createMetadata
Creates metadata DataFrame describing the structure of input DataFrame. Includes column names, data types, and descriptions.- Parameters:
df- DataFrame to analyze- Returns:
- DataFrame containing metadata information
-