edb-noumea 0.2.2__tar.gz → 0.2.3__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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: edb-noumea
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Un scraper pour la qualité des eaux de baignade à Nouméa.
5
5
  Project-URL: Homepage, https://github.com/adriens/edb-noumea
6
6
  Project-URL: Repository, https://github.com/adriens/edb-noumea
@@ -91,6 +91,9 @@ def get_detailed_results():
91
91
  cleaned_df['id_point_prelevement'] = split_points[0].str.strip()
92
92
  cleaned_df['desc_point_prelevement'] = split_points[1].str.strip() if split_points.shape[1] > 1 else ''
93
93
 
94
+ # Conversion de la colonne 'date' au format ISO (YYYY-MM-DD)
95
+ cleaned_df['date'] = pd.to_datetime(cleaned_df['date'], format='%d/%m/%Y', errors='coerce').dt.strftime('%Y-%m-%d')
96
+
94
97
  return cleaned_df
95
98
 
96
99
  if __name__ == "__main__":
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: edb-noumea
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Un scraper pour la qualité des eaux de baignade à Nouméa.
5
5
  Project-URL: Homepage, https://github.com/adriens/edb-noumea
6
6
  Project-URL: Repository, https://github.com/adriens/edb-noumea
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "edb-noumea"
3
- version = "0.2.2"
3
+ version = "0.2.3"
4
4
  description = "Un scraper pour la qualité des eaux de baignade à Nouméa."
5
5
  dependencies = [
6
6
  "requests",
File without changes
File without changes