Skip to content

Commit

Permalink
Reset step 5
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jhansen committed Sep 8, 2023
1 parent e27a2ee commit 0aee8de
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions steps/05_fahrenheit_to_celsius_udf/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@
# SNOWFLAKE ADVANTAGE: SnowCLI (PuPr)

import sys
from scipy.constants import convert_temperature

def main(temp_f: float) -> float:
return convert_temperature(float(temp_f), 'F', 'C')
return (float(temp_f) - 32) * (5/9)


# For local debugging
Expand Down
1 change: 0 additions & 1 deletion steps/05_fahrenheit_to_celsius_udf/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
scipy

0 comments on commit 0aee8de

Please sign in to comment.