{
  "id": 16804490,
  "title": "Compare salaries and hiring across countries with Glassdoor job data and Python",
  "url": "https://urgent.news/2026/10/27/compare-salaries-and-hiring-across-countries-with-glassdoor-job-data",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-27T22:02:04.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/atlasdata/compare-salaries-and-hiring-across-countries-with-glassdoor-job-data-and-python-1fgb"
  },
  "original_language": "en",
  "account": "Comparing salaries for data analysts across London, New York, Berlin, and Bengaluru using Glassdoor job data and Python reveals several key insights. First, the salaries vary significantly across the four locations. In New York, the salary range for a data analyst is between $79,300 and $85,000 per year. London shows a slightly higher range, with analysts earning between $82,150 and $85,000 annually. Berlin offers a similar range to New York, with salaries ranging from $79,300 to $85,000. Bengaluru, on the other hand, has a higher salary range, with data analysts earning between $79,300 and $85,000 per year.\n\nAnother important factor is how the salaries are represented. Some postings provide the employer's own salary range, while others show Glassdoor's own estimate. It is crucial to differentiate between these two sources, as they may not always align. For instance, in the Berlin postings, there were two instances where internships were listed with salaries of approximately €2,470 per month, which converts to about $29,640 annually. Although these figures are accurate, they do not represent the typical salary for a data analyst position.\n\nWhen analyzing the data, it is essential to clean the salaries and remove any non-comparable entries. In the provided data, there are instances of internships and typos in the salary ranges, which can skew the results. To address this, the data is filtered to exclude such entries, ensuring a more accurate comparison.\n\nOnce the data is cleaned, various statistical measures can be calculated, such as the median salary, the minimum and maximum salaries, and the overall salary range. These metrics provide valuable insights into the salary landscape for data analysts in the four selected cities.\n\nIn conclusion, the Python script successfully compares salary data for data analysts across London, New York, Berlin, and Bengaluru using Glassdoor job data. The script demonstrates the importance of considering the source of the salary data, cleaning the data to remove non-comparable entries, and calculating relevant statistics to gain a comprehensive understanding of the salary landscape.",
  "summary": "\"What does a data analyst earn in London compared to New York?\" sounds like a question with an easy answer. In practice salary data is scattered across reports with different dates, definitions and samples. Live job postings are a decent alternative: they show what employers are advertising right now, and Glassdoor shows a salary range for most of its listings. In this tutorial we'll write one…",
  "key_points": [
    "Salaries for data analysts vary significantly across London, New York, Berlin, and Bengaluru.",
    "Berlin internships listed with €2,470/month (~$29,640/year) but not typical data analyst salaries."
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}