Jak zaoszczędzić lokalnie zmienne Python
with open('train.pickle', 'wb') as f:
pickle.dump([X_train, y_train], f)
Thoughtless Tapir
with open('train.pickle', 'wb') as f:
pickle.dump([X_train, y_train], f)