Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- John Apple <-- Header Start
- 9/21/2005
- Duration: 00:00:06 <-- Header End
- Time Body_Temp Thermistor <-- Index
- 00:00:00 0.00
- 00:00:01 88.07
- 00:00:02 88.07
- 00:00:03 83.90
- 00:00:04 104.35
- 00:00:05 85.43
- 00:00:06 85.43
- file = r'Alpha.csv'
- meta = pd.read_csv(file, nrows=4, header=None)
- df = pd.read_csv(file, skiprows=4)
- uncommon = df.loc[(df['Temp'] >= 100)]
- with open('Dummy.csv', 'w') as out:
- meta.to_csv(out, index=False, header=False)
- uncommon.to_csv(out, sep='t', index=False)
Add Comment
Please, Sign In to add comment