File size: 399 Bytes
0c61c42
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
# import pandas as pd

# # Load the CSV file into a DataFrame
# fossils_pd = pd.read_csv('fossils_paths.csv')

# # Replace '. ' with '' (effectively removing it) in the 'file_name' column
# fossils_pd['file_name'] = fossils_pd['file_name'].str.replace('. ', '', regex=False)

# # Optional: Save the updated DataFrame back to a CSV file if needed
# fossils_pd.to_csv('fossils_paths.csv', index=False)