擅长:python、mysql、java
<p>您可以获得<code>Record1</code>列下的所有<code>Record2</code>值,如下所示:</p>
<p><strong>数据设置:</strong></p>
<pre><code>data = StringIO(
'''
dataTime Record1Field1 Record1Field2 Record1Field3 Record2Field1 Record2Field2 Record2Field3
01-01-2015 1 2 3 4 5 6
''')
df = pd.read_csv(data, delim_whitespace=True, parse_dates=['dataTime'])
print (df)
dataTime Record1Field1 Record1Field2 Record1Field3 Record2Field1 \
0 2015-01-01 1 2 3 4
Record2Field2 Record2Field3
0 5 6
</code></pre>
<p><strong>操作:</strong></p>
^{pr2}$