simple-utils-quickstart-demo 0.2.1__tar.gz → 0.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: simple_utils_quickstart_demo
3
- Version: 0.2.1
4
- Summary: Bundled solutions for 13 Python & Data Science Questions with dependencies auto-installed
3
+ Version: 0.2.2
4
+ Summary: Clean, dependency-managed answers for 13 Data Science problems
5
5
  Author-email: Your Name <your.email@example.com>
6
6
  Classifier: Programming Language :: Python :: 3
7
7
  Classifier: License :: OSI Approved :: MIT License
@@ -4,8 +4,8 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "simple_utils_quickstart_demo"
7
- version = "0.2.1"
8
- description = "Bundled solutions for 13 Python & Data Science Questions with dependencies auto-installed"
7
+ version = "0.2.2"
8
+ description = "Clean, dependency-managed answers for 13 Data Science problems"
9
9
  authors = [
10
10
  { name="Your Name", email="your.email@example.com" }
11
11
  ]
@@ -37,8 +37,7 @@ def question_3_handle_missing_values(filepath='iris.csv'):
37
37
  df_copy = pd.read_csv(filepath).copy()
38
38
  df_copy.loc[[5, 10, 15], 'SepalLengthCm'] = np.nan
39
39
  df_copy.loc[[20, 25], 'Species'] = np.nan
40
-
41
- # Impute missing values
40
+
42
41
  median_sepal = df_copy['SepalLengthCm'].median()
43
42
  df_copy['SepalLengthCm'] = df_copy['SepalLengthCm'].fillna(median_sepal)
44
43
  mode_species = df_copy['Species'].mode()[0]
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: simple_utils_quickstart_demo
3
- Version: 0.2.1
4
- Summary: Bundled solutions for 13 Python & Data Science Questions with dependencies auto-installed
3
+ Version: 0.2.2
4
+ Summary: Clean, dependency-managed answers for 13 Data Science problems
5
5
  Author-email: Your Name <your.email@example.com>
6
6
  Classifier: Programming Language :: Python :: 3
7
7
  Classifier: License :: OSI Approved :: MIT License