Page 22 -
P. 22

table of contents


                                   dealing with complexity
                        11         Data wrangling



                                   It’s great when you can apply Python to a specific domain area.
                                   Whether it’s web development, database management, or mobile apps, Python helps
                                   you get the job done by not getting in the way of you coding your solution. And then
                                   there’s the other types of problems: the ones you can’t categorize or attach to a domain.
                                   Problems that are in themselves so unique you have to look at them in a different, highly
                                   specific way. Creating bespoke software solutions to these type of problems is an area
                                   where Python excels. In this, your final chapter, you’ll stretch your Python skills to the
                                   limit and solve problems along the way.
                                                   What’s a good time goal for the next race?        398
                                                   So…what’s the problem?                            400
                                                   Start with the data                               401
                                                   Store each time as a dictionary                   407
                                                   Dissect the prediction code                       409
                                                   Get input from your user                          413
                                                   Getting input raises an issue…                    414
                                                   Search for the closest match                      416
                                                  The trouble is with time                           418
                                                  The time-to-seconds-to-time module                 419
                                                  The trouble is still with time…                    422
                                                   Port to Android                                   424
                                                  Your Android app is a bunch of dialogs             425
                                                   Put your app together…                            429
                                                  Your app’s a wrap!                                 431
                                                  Your Python Toolbox                                432


















           xx
   17   18   19   20   21   22   23   24   25   26   27