Advice for Purchasing laptop

For $1000. you can get a decent gaming laptop like Acer Nitro 5, MSI GV15, Gigabyte G5 or Lenovo IdeaPad Gaming 3i.
They can definitely meet your needs well.

Iā€™m looking for some advice on buying a laptop for work and some machine learning. I am considering the new macbook air or a thinkpad with ryzen7 or intel i5.

Any suggestions?