Created
August 17, 2023 19:16
-
-
Save SamLau95/07a79341914c2ebc1a0b8a4b5b1c062e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def compute_ppsf(df): | |
return df.assign( | |
ppsf=df['price'] / df['bsqft'], | |
log_ppsf=lambda df: np.log10(df['ppsf'])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment