Skip to content

Instantly share code, notes, and snippets.

@Sanlap1997
Last active October 2, 2020 07:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sanlap1997/6723ae2c6323256693999865b88641cf to your computer and use it in GitHub Desktop.
Save Sanlap1997/6723ae2c6323256693999865b88641cf to your computer and use it in GitHub Desktop.
# read training data - It is the aircraft engine run-to-failure data.
train_df = pd.read_csv('https://cainvas-static.s3.amazonaws.com/media/user_data/dark/PM_train.txt', sep=" ", header=None)
train_df.drop(train_df.columns[[26, 27]], axis=1, inplace=True)
train_df.columns = ['id', 'cycle', 'setting1', 'setting2', 'setting3', 's1', 's2', 's3',
's4', 's5', 's6', 's7', 's8', 's9', 's10', 's11', 's12', 's13', 's14',
's15', 's16', 's17', 's18', 's19', 's20', 's21']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment