Well ! That is really great that you thought of it. Out of the box, Samsung Galaxy Tab S2 9.7 LTE runs on Android that holds the maximum of the smartphone market because of its seamless benefits. Yet, if you wish to use windows you can do it by rooting it and flashing Operating System of your choice.
If you are looking for a tablet with Cellular connectivity then both are amazing tablets. But the choice is yours if you want an Android tablet then go with Galaxy S2 and if you want an iOS device then iPad 2017 is a great choice. The basic difference between the two is the Operating system but here, in this case, I will recommend you to go with the iPad as 2017 iPad has a better and updated processor, as well as iOS 11, is a huge improvement from its last update. there is the whole new control center, new gallery feature as well as new file manager which will make you daily work easier and efficient.