Jul-21-2021, 06:36 PM
df[col] is a Series, essentially 1 column from your dataframe. Why would printing df[col] print other columns?
It is difficult to help you because I have no idea what you are trying to do. Why do you care about the b''? If you don't want the b'' is there something you could do to prevent putting bytes in the dataframe? How are the bytes getting in the dataframe? I'm done here until you provide enough information that someone other than you can understand your questions.
It is difficult to help you because I have no idea what you are trying to do. Why do you care about the b''? If you don't want the b'' is there something you could do to prevent putting bytes in the dataframe? How are the bytes getting in the dataframe? I'm done here until you provide enough information that someone other than you can understand your questions.