0

What is the Difference Between '\t' and .strip() function in Pandas?

I'm unable to use .strip() function while creating a data frame in in Pandas, but rather '\t' Seperator is working perfectly. Just curious to know if i can also use .strip() function to seperate and align the data frame. Thanks in Advance

9th Nov 2023, 10:44 AM
Ashish Pranay
Ashish Pranay - avatar
1 ответ
+ 2
it's .str.strip() the link below gives additional ways to clean up your data. https://www.geeksforgeeks.org/pandas-strip-whitespace-from-entire-dataframe/
9th Nov 2023, 11:25 AM
Bob_Li
Bob_Li - avatar