擅长:python、mysql、java
<p>使用<a href="https://pandas.pydata.org/pandas-docs/version/0.25/reference/api/pandas.DataFrame.at.html" rel="nofollow noreferrer">DataFrame.at</a>:</p>
<pre><code>number_str=df1.at[0,'randomcolumn']
print(number_str)
# '12345'
</code></pre>
<hr/>
<pre><code>number=int(number_str)
print(number)
# 1245
</code></pre>