pyspark.sql.Window.currentRow

Window.currentRow = 0