Programming by example
Sometimes I don’t know the function I need to perform a task I want. Often its something simple like; I have two dataframes and I want to create a new dataframe which has all the rows of the first followed by all of the rows of the second. I can for a small example create the two data frames and I can try and describe what I want to find through google, however, often the phrases that I type into google, being natural language, are ambiguous an imprecise of what I’m trying to describe. In this example of concatenating data frames, I more often came across joining the two dataframe by adding the columns of one to columns of the other rather than adding rows. This test of the function I’m currently building passes managing to find the function in the pandas library which concatenates the two objects. This is still very much a pre-useful stage as in the test I’ve had to put the two dataframes in a list as, having found the solution through google...