Skip to content

Conversation

@lwasser
Copy link
Member

@lwasser lwasser commented Jun 25, 2024

No description provided.

@@ -0,0 +1,57 @@
"""Module 1 -
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The idea here is that we have a simple script that has a lot of repeated code. We then will turn this into a more modular / function based script which will be 02-sample-script.py

@@ -0,0 +1,57 @@
"""Module 1 -

* What challenges do you see in this code?
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would be an OYO (on your own) or in small groups discussion that learners would have around the code.

import pandas as pd
import os

print(os.getcwd())
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By using temperature and snowfall we have units that we could potentially convert. there are conversion tools but we could also create small functions to implement the conversions.

@lwasser lwasser merged commit 1e1c600 into main Jun 26, 2024
@lwasser lwasser deleted the code branch June 26, 2024 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant