I have a function that reads and handles *.csv files in several dataframes.
However, not all of the CSV files have the same separator. So, how could python can detect which type of separator does the csv file has, and then used it in read_csv() function to read it in pandas?
df = pd.read_csv(path, sep = 'xxx',header = None, index_col = 0)