如何在不修剪文本的情况下将熊猫字符串列转换为字符串系列?

时间:2018-08-29 22:41:24

标签: python pandas series

如何在不修剪文本的情况下将熊猫字符串列转换为字符串系列?

   s = pd.Series('Data was not intuitive and too difficult for our marketing team to use. Big-Data has been a huge improvement.')

将Series转换为字符串时。它被修剪。

d = s.to_string(index=False)
d = 'Sprinklr was not intuitive and too difficult f...'

我想用这个系列来数数其中的单词。但是修整正妨碍着我。

0 个答案:

没有答案