Special charecter removal from dataframe in pandas while using Deduplication

71 Views Asked by At

I am using deduplication in my data frame I am getting warning-

import pandas as pd
import numpy as np
import pandas_dedupe
scholar=pd.read_csv('Scholar.csv')
Scholar_final=pandas_dedupe.dedupe_dataframe(scholar,['idScholar','ROW_ID'])

Warning Message :

Importing data ...
 FutureWarning: The default value of regex will change from True to False in a future version.
  df[i] = df[i].str.replace('[^\w\s\.\-\(\)\,\:\/\\\\]','')

What does it mean? I am not able to understand this.

0

There are 0 best solutions below