It's known for having some of the best food in Japan and it offers plenty to do for first-time visitors. If it's your first trip and you don't have a lot of time, then I'd say that 3 days in Osaka is ideal. It'll give you enough time to see the city's top attractions without feeling rushed.