擅长:python、mysql、java
<p>您可以选择<code>converters</code></p>
<pre><code>TESTDATA = StringIO("""
A,B
1,Beach holiday;Plenty of space;Pool
1,Beach holiday;Plenty of space;Pool
""")
df = pd.read_csv(TESTDATA ,converters={'B':lambda x : x.split(';')})
df
Out[147]:
A B
0 1 [Beach holiday, Plenty of space, Pool]
1 1 [Beach holiday, Plenty of space, Pool]
</code></pre>