Recent Forum Posts
From categories:
albanacoalbanaco 15 Jan 2017 06:43
in discussion Hidden / Per page discussions » C0325

Note that "parens" is short for "parentheses", the plural of "parenthesis".

Expressions cannot be "surrounded" by a single parenthesis, only by a pair of parentheses.

("Parenthesis" is pronounced "pah - wren - thuh - siss"; "parentheses" is pronounced "pah - wren - thuh - seas".)

Parentheses by albanacoalbanaco, 15 Jan 2017 06:43

It is trying to tell you that there is no point in using a lambda at all.

Instead of writing your code like this:

results = " ".join( x: save_and_show(x)).collect())

You should write it like this:

results = " ".join(

It just assumes that all the values that are in the rdd will be the same as all the values in the function.

Remove the lambda all together by zdubuzdubu, 21 Sep 2016 16:19
Josh EnglishJosh English 19 Sep 2016 16:18
in discussion Hidden / Per page discussions » E1101

The name of this error is no-member, so can be disabled on a single line with # pylint: disable=no-member

by Josh EnglishJosh English, 19 Sep 2016 16:18
Sharaf AliSharaf Ali 25 Aug 2014 18:43
in discussion Hidden / Per page discussions » W0702

Used when an except clause doesn’t specify exceptions type to catch.

Description by Sharaf AliSharaf Ali, 25 Aug 2014 18:43

One thing worth to mention is that function/method arguments are also local variables.
If you get this message for function with say 5 arguments, but count only 12 local variables, then you have forgotten to count the arguments too.

class Farm: 
    def __init__(self): pass

 class Barn(Farm): 
    def __init__(self): 
This is the old syntax by ssbarneassbarnea, 07 Oct 2011 15:26
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License