Category : comparison

I am reading two dataframes looking at one column and then showing the difference in position between the two dataframe with a -1 or +1 etc. I have try the following code but it only shows 0 in Position Change when there should be a difference between British Airways and Ryanair first = pd.read_csv("C:UsersairmaPycharmProjectsVatsim_StatsVatsim_statsBase.csv", encoding=’unicode_escape’) ..

Read more

I need to identify companies in a list of tuples, named watchlist watchlist = [(‘TUI’, 820.0), (‘Whitbread’, 4300.0), (‘AstraZeneca’, 7500.0), (‘Standard Chartered’, 920.0), (‘Barclays’, 135.5)] That meet at least one of the following requirements, when compared to a df named comparison_df [enter code here][1] i) Any company in watchlist whose prices is equal to or ..

Read more