SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import math
  2. import pandas as pd
  3. import numpy as np
  4. from pandas import ExcelWriter
  5. from pandas import ExcelFile
  6. df = pd.read_csv('C:/Users/narge/Desktop/Site 1.csv')
  7. newdf = df.loc[df['Class Name'] == 'F6']
  8. df = pd.DataFrame(newdf)
  9. for i in range (len(df)):
  10. Column=df['Axle Weights (kg)'][i]
  11. Separated_Column=Column.split('|')
  12. Separated_Axle_Weights=list(map(float,Separated_Column))
  13. print(Separated_Axle_Weights)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top