`coalesce` is defined twice in this file, but Python doesn't support Java-style method overloading.  Instead, I'd add a default of `shuffle=False` to the other method.  If the Java/Scala APIs document this `shuffle` argument, could you copy that documentation here, too?