Python, excel, pandas, write an excel file to a panda's database
Using Python, Pandas and Excel to create my database I started writing a new set of python class's for the machine learning experiment. With the original code I found that I was coding all the decisions that were being made. Now while it functioned fine, the point of getting the machine to do the work was lost. So the new one started trying to figure out how to make it quicker, reusable, and the data modifiable. The decision tree needed something to work with besides the hard coded solution. This is where pandas and excel will come in. Below the bad descisions section is the new code. Feel free to scroll down if that's what your here for. Image: Pandas in action. Compacted terminal print of the columns of data labeled: size, seed_type, [...], ornaments, colors, names. The rows are identified by number only. 1 - 8. These identifiers in the column will help the new decision tree eliminate what plant we are describing down to a list of n...