pd_flatten
- ssapy.io.pd_flatten(data, factor=1)[source][source]
Flatten and process a list of data values.
This function takes a list of data values, attempts to split each value based on commas (excluding the first and last characters), and flattens the resulting list. If splitting fails (e.g., due to a TypeError), the original value is added to the result. Finally, all values are converted to floats and divided by the specified factor.
- Parameters:
- Returns:
A list of processed float values, flattened and divided by factor.
- Return type: