# 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)