LeoZhangzaolin commited on
Commit
e050895
1 Parent(s): 18e3316

Update CSV_Processing.py

Browse files
Files changed (1) hide show
  1. CSV_Processing.py +3 -2
CSV_Processing.py CHANGED
@@ -1,7 +1,8 @@
1
  #### Firstly, I read specimen data from a CSV file, merges and reformats certain columns, and then converts this data into a pandas DataFrame.
2
- #### Then, I process associated images by resizing them and saving them in a specified output directory.
3
  #### Next, I update the DataFrame with the paths to the processed images and save this enhanced dataset as a new CSV file.
4
- #### Finally, I upload photos to github and replace the url to corresponding names.
 
5
 
6
  import csv
7
  import os
 
1
  #### Firstly, I read specimen data from a CSV file, merges and reformats certain columns, and then converts this data into a pandas DataFrame.
2
+ #### Then, I filter and process associated images by resizing them and saving them in a specified output directory.
3
  #### Next, I update the DataFrame with the paths to the processed images and save this enhanced dataset as a new CSV file.
4
+ #### Finally, I upload photos to github and replace the local paths with public URL.
5
+ #### Note: all these were done on local. And I upload the processed csv to github and get the URL
6
 
7
  import csv
8
  import os