79605356

Date: 2025-05-04 06:57:34
Score: 1
Natty:
Report link
to load images into a DataFrame without issue us this please
from pyspark.ml.image import ImageSchema
imagesDF = ImageSchema.readImages("/path/to/imageFolder")
labledImageDF = imagesDF.withColumn("label", lit(0))
from pyspark.sql.functions import * 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: iamcroxz