Last active
September 28, 2021 17:51
-
-
Save erap129/1138aa0e97d3bc8360f4cd899f4e1c83 to your computer and use it in GitHub Desktop.
NASA RUL project - data loading
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # for reproducibility | |
| pl.seed_everything(42) | |
| train_df = pd.read_csv('/content/drive/MyDrive/Datasets/NASA_CMAPSS/train_FD001.txt', delimiter=' ', header=None) | |
| test_df = pd.read_csv('/content/drive/MyDrive/Datasets/NASA_CMAPSS/test_FD001.txt', delimiter=' ', header=None) | |
| SENSOR_COLUMN_NAMES = [f'sensor_{i}' for i in range(1, 27)] | |
| df_columns = ['unit_number', 'time', *SENSOR_COLUMN_NAMES] | |
| train_df.columns = df_columns | |
| test_df.columns = df_columns | |
| train_df.describe() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment