Getting extra characters while loading data
Try using endcoding=utf-8
Code:
import pandas as pd
mydf=pd.read_sas(&quot;\home\mypath\mydataset.sas7bdat&quot;,format = 'sas7bdat', encoding=&quot;utf-8&quot;)

If the sas dataset is small, I would recommend loading from CSV file instead of sas dataset. Performance loading from SAS using Python is poor.