Explain the difference between a Pandas dataframe and a Spark dataframe in terms of execution and memory management.