擅长:python、mysql、java
<p>公认的答案是好的。只是想提供一个答案。文件上说:</p>
<blockquote>
<p>Pandas uses the object dtype for storing strings.</p>
</blockquote>
<p>正如前面的评论所说:“别担心,它应该是这样的。”(尽管接受的答案很好地解释了“为什么”;字符串是可变长度的)</p>
<blockquote>
<p>But for strings, the length of the string is not fixed. </p>
</blockquote>