From the passage provided, extract the number of bags of coffee São Paulo produced in 1888.

Context: Coffee production attracted immigrants in search of better economic opportunities in the early 1900s. Mainly, these were Portuguese, Italian, Spanish, German, and Japanese nationals. For instance, São Paulo received approximately 733,000 immigrants in the decade preceding 1900, whilst only receiving approximately 201,000 immigrants in the six years to 1890. The production yield of coffee increases. In 1880, São Paulo produced 1.2 million bags, in 1888 2.6 million, and in 1902 8 million bags. Coffee is then 63% of the country's exports. The gains made by this trade allow sustained economic growth in the country.

Answer: São Paulo produced 2.6 million bags of coffee in 1888.