spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tanay Banerjee <tanay.baner...@gmail.com>
Subject Re: Incorrect param in Doc ref url:https://spark.apache.org/docs/latest/ml-datasource
Date Sat, 08 Feb 2020 15:13:37 GMT
> Hi Team,
>
> I have found out below incorrect code which will lead to error "NameError:
> name 'true' is not defined". As true is the the parameter required but
> 'True'
>
> All the details are provided below.
>
> URL: https://spark.apache.org/docs/latest/ml-datasource
>
> Issue:
>
> true -> TRUE
> df = spark.read.format("image").option("dropInvalid",
> true).load("data/mllib/images/origin/kittens")
>
> After Correction:
> df = spark.read.format("image").option("dropInvalid",
> True).load("data/mllib/images/origin/kittens")
>
> regards,
> Tanay
>

Mime
View raw message