I am running some codes on Databricks platform and encountered a super werid problem that the results returned by the same dataframe were inconsistent. Here comes my code: