You may split it up, still I would invest only what I can afford to lose.
I agree with your idea, if there is a substantial money available, you have the option by splitting it up, if your investment losses, you have still some money in the bank. Investing is always accompanied by risk and the possibility of losing is high especially when you are still a beginner. Bank is a safe haven for those who want to save their money for long term.
This is a reasonable choice, because in investment, nothing is absolutely sure, it is always risky and dangerous, if we use all the money we have, when bad things happen, we will probably lose everything, so we always need a plan to help us not lose everything in a bad situation, that is a saving. Savings will help us avoid situations lose all, it will ensure we still have money to start over, but do not forget investment, investment is the best way to grow our money, so combine both, save and invest, that is the best way for us