Windows Installation on MacBook Pro
Windows runs on a Mac independent of the Mac operation system (OS X). Included in OS X is a utility called the Boot Camp Assistant which aids in installing officially support versions of Windows. In your case, both Windows 8.1 and Windows 10 are supported. You will need a 16 GB or larger flash drive to install Windows on your model Mac. While I personally have only installed Windows 10 on iMacs, I would assume you should not have any problems installing on your MacBook Pro.

Once Windows is installed, you will be able to boot between the Windows and OS X. Windows can be selected from the OS X System Preferences application. OS X can be selected from the Windows Control Panel or directly from the Desktop.

More information can be found at the Apple web site: How to install Windows using Boot Camp.