Were do I get this load_commonlounge_dataset function???
All help appreciated
Were do I get this load_commonlounge_dataset function???
All help appreciated
Mapping countries to integers using a dictionary:
Is it not more efficient to use data['Country'] = data['Country'].apply(lambda s: mymap.get(s) if s in mymap else s)?
As StockCode has dtype Object (many values are not numeric))
Should filtering on value 71053 not be done by data[data["StockCode"] == "71053"]["Quantity"].hist(), with a quoted value instead of == 71053 (using pandas 0.23.4)