id
stringlengths
15
32
texts
listlengths
2
2
translated
listlengths
1
2
chartgemma-chartgemma_img1_22968
[ { "content": "program of thought: What is the average number of smartphone users in millions for the websites that have less than 10 million users?<image>", "from": "human" }, { "content": "less_than_10 = [9.5, 6.8]\naverage = sum(less_than_10) / len(less_than_10)\nprint(average)", "from": "gpt" } ]
[ { "content": "ํ”„๋กœ๊ทธ๋žจ์˜ ์‚ฌ๊ณ : 1์ฒœ๋งŒ ๋ช… ๋ฏธ๋งŒ์˜ ์‚ฌ์šฉ์ž๋ฅผ ๊ฐ€์ง„ ์›น์‚ฌ์ดํŠธ๋“ค์˜ ํ‰๊ท  ์Šค๋งˆํŠธํฐ ์‚ฌ์šฉ์ž ์ˆ˜๋Š” ์ˆ˜๋ฐฑ๋งŒ ๋ช…์ž…๋‹ˆ๊นŒ?", "role": "user" }, { "content": "[KOR] less_than_10 = [9.5, 6.8]\naverage = sum(less_than_10) / len(less_than_10)\nprint(average)", "role": "assistant" } ]
chartgemma-chartgemma_img1_35588
[ { "content": "<image>program of thought: What is the sum of the segments excluding the largest one?", "from": "human" }, { "content": "segments = [5.5, 1.9, 10, 12.3, 13.8]\nsum = 0\nfor segment in segments:\n sum += segment\nprint(sum)", "from": "gpt" } ]
[ { "content": "์‚ฌ๊ณ  ํ”„๋กœ๊ทธ๋žจ: ๊ฐ€์žฅ ํฐ ๊ฒƒ์„ ์ œ์™ธํ•œ ์„ธ๊ทธ๋จผํŠธ๋“ค์˜ ํ•ฉ์€ ๋ฌด์—‡์ž…๋‹ˆ๊นŒ?", "role": "user" }, { "content": "[KOR] ์„ธ๊ทธ๋จผํŠธ = [5.5, 1.9, 10, 12.3, 13.8]\nsum = 0\nfor segment in segments:\n sum += segment\nprint(sum)", "role": "assistant" } ]
chartgemma-chartgemma_img1_51280
[ { "content": "program of thought: What is the difference between the percentage of respondents in 30-44 age groups who responded as \"YES\" and \"NO\"?<image>", "from": "human" }, { "content": "yes_30_44 = 56\nno_30_44 = 44\ndifference = yes_30_44 - no_30_44\nprint(difference)", "from": "gpt" } ]
[ { "content": "์‚ฌ๊ณ  ํ”„๋กœ๊ทธ๋žจ: 30-44์„ธ ์—ฐ๋ น๋Œ€์—์„œ \"YES\"์™€ \"NO\"๋กœ ์‘๋‹ตํ•œ ์‘๋‹ต์ž์˜ ๋น„์œจ ์ฐจ์ด๋Š” ๋ฌด์—‡์ž…๋‹ˆ๊นŒ?", "role": "user" }, { "content": "[KOR] yes_30_44 = 56\nno_30_44 = 44\ndifference = yes_30_44 - no_30_44\nprint(difference)", "role": "assistant" } ]
chartgemma-chartgemma_img1_30540
[ { "content": "<image>Let's think step by step: What is the education level with the highest percentage of middle-income adults moving down from the middle-income tier to the lower-income tier?", "from": "human" }, { "content": "Look at the rightmost bar chart. The bar with the highest percentage corresponds to the education level of Less than high school graduate. Final Answer: Less than high school graduate", "from": "gpt" } ]
[ { "content": "๋‹จ๊ณ„๋ณ„๋กœ ์ƒ๊ฐํ•ด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค: ์ค‘์‚ฐ์ธต ์„ฑ์ธ ์ค‘ ์ค‘์‚ฐ์ธต ๊ณ„์ธต์—์„œ ํ•˜์œ„ ๊ณ„์ธต์œผ๋กœ ์ด๋™ํ•˜๋Š” ๋น„์œจ์ด ๊ฐ€์žฅ ๋†’์€ ๊ต์œก ์ˆ˜์ค€์€ ๋ฌด์—‡์ž…๋‹ˆ๊นŒ?", "role": "user" }, { "content": "[KOR] ๊ฐ€์žฅ ์˜ค๋ฅธ์ชฝ ๋ง‰๋Œ€ ๊ทธ๋ž˜ํ”„๋ฅผ ๋ณด์„ธ์š”. ๊ฐ€์žฅ ๋†’์€ ๋น„์œจ์„ ๊ฐ€์ง„ ๋ง‰๋Œ€๋Š” ๊ณ ๋“ฑํ•™๊ต ์กธ์—… ์ดํ•˜์˜ ๊ต์œก ์ˆ˜์ค€์— ํ•ด๋‹นํ•ฉ๋‹ˆ๋‹ค. ์ตœ์ข… ๋‹ต๋ณ€: ๊ณ ๋“ฑํ•™๊ต ์กธ์—… ์ดํ•˜", "role": "assistant" } ]
chartgemma-chartgemma_img1_20992
[ { "content": "<image>Generate a caption for the chart: ", "from": "human" }, { "content": "The chart shows the percentage of people who believe the U.S. and its allies", "from": "gpt" } ]
[ { "content": "์ฐจํŠธ์— ๋Œ€ํ•œ ์บก์…˜์„ ์ƒ์„ฑํ•˜์‹ญ์‹œ์˜ค:", "role": "user" }, { "content": "[KOR] ์ฐจํŠธ๋Š” ๋ฏธ๊ตญ๊ณผ ๊ทธ ๋™๋งน๊ตญ๋“ค์ด", "role": "assistant" } ]
chartgemma-chartgemma_img1_29984
[ { "content": "<image>program of thought: What is the sum of the two bars in 13-17?", "from": "human" }, { "content": "bar1 = 7\nbar2 = 8\nprint(bar1 + bar2)", "from": "gpt" } ]
[ { "content": "์‚ฌ๊ณ  ํ”„๋กœ๊ทธ๋žจ: 13-17์—์„œ ๋‘ ๋ง‰๋Œ€์˜ ํ•ฉ์€ ๋ฌด์—‡์ž…๋‹ˆ๊นŒ?", "role": "user" }, { "content": "[KOR] bar1 = 7\nbar2 = 8\nprint(bar1 + bar2)", "role": "assistant" } ]
chartgemma-chartgemma_img1_40556
[ { "content": "<image>program of thought: Which country has the highest export value that is less than 50?", "from": "human" }, { "content": "export_values = [101.69, 87.02, 31.97, 25.81, 21.01]\nfiltered_values = [value for value in export_values if value < 50]\nhighest_value = max(filtered_values)\nprint(highest_value)", "from": "gpt" } ]
[ { "content": "[KOR] ์ƒ๊ฐ์˜ ํ”„๋กœ๊ทธ๋žจ: ์ˆ˜์ถœ ๊ฐ€์น˜๊ฐ€ 50๋ณด๋‹ค ์ž‘์€ ๊ตญ๊ฐ€ ์ค‘ ๊ฐ€์žฅ ๋†’์€ ์ˆ˜์ถœ ๊ฐ€์น˜๋ฅผ ๊ฐ€์ง„ ๊ตญ๊ฐ€๋Š” ์–ด๋””์ž…๋‹ˆ๊นŒ? [/KOR", "role": "user" } ]
chartgemma-chartgemma_img1_10156
[ { "content": "<image>program of thought: How many provinces have less than 50,000 registered Indians?", "from": "human" }, { "content": "count = 0\nfor x in [218451, 162787, 162202, 148579, 131697, 91293, 64724, 19659, 9563]:\n if x < 50000:\n count += 1\nprint(count)", "from": "gpt" } ]
[ { "content": "์‚ฌ๊ณ  ํ”„๋กœ๊ทธ๋žจ: ๋“ฑ๋ก๋œ ์ธ๋””์–ธ์ด 5๋งŒ ๋ช… ๋ฏธ๋งŒ์ธ ์ฃผ๋Š” ๋ช‡ ๊ฐœ์ž…๋‹ˆ๊นŒ?", "role": "user" }, { "content": "[KOR] count = 0\nfor x in [218451, 162787, 162202, 148579, 131697, 91293, 64724, 19659, 9563]:\n if x < 50000:\n count += 1\nprint(count)", "role": "assistant" } ]
chartgemma-chartgemma_img1_13264
[ { "content": "<image>program of thought: What is the average national debt of the countries shown in the chart?", "from": "human" }, { "content": "national_debts = [2583.72, 2296.78, 353.39, 366.88, 219.4, 2569.26, 266.82, 1311.3]\ncount = len(national_debts)\nsum = 0\nfor debt in national_debts:\n sum += debt\nprint(sum / count)", "from": "gpt" } ]
[ { "content": "์‚ฌ๊ณ ์˜ ํ”„๋กœ๊ทธ๋žจ: ์ฐจํŠธ์—์„œ ๋ณด์—ฌ์ง€๋Š” ๊ตญ๊ฐ€๋“ค์˜ ํ‰๊ท  ๊ตญ๊ฐ€ ๋ถ€์ฑ„๋Š” ์–ผ๋งˆ์ž…๋‹ˆ๊นŒ?", "role": "user" }, { "content": "[KOR] national_debts = [2583.72, 2296.78, 353.39, 366.88, 219.4, 2569.26, 266.82, 1311.3]\ncount = len(national_debts)\nsum = 0\nfor debt in national_debts:\n sum += debt\nprint(sum / count)", "role": "assistant" } ]
chartgemma-chartgemma_img1_62456
[ { "content": "<image>program of thought: What is the sum of the share of SMEs for 'Hotels and Restaurants' in Q2 2017 and Q2 2018?", "from": "human" }, { "content": "q2_2017_hotels_restaurants = 7\nq2_2018_hotels_restaurants = 9\nsum = q2_2017_hotels_restaurants + q2_2018_hotels_restaurants\nprint(sum)", "from": "gpt" } ]
[ { "content": "์‚ฌ๊ณ  ํ”„๋กœ๊ทธ๋žจ: 2017๋…„ 2๋ถ„๊ธฐ์™€ 2018๋…„ 2๋ถ„๊ธฐ์— '์ˆ™๋ฐ• ๋ฐ ์Œ์‹์ ์—…'์— ๋Œ€ํ•œ ์ค‘์†Œ๊ธฐ์—…์˜ ์ง€๋ถ„ ํ•ฉ๊ณ„๋Š” ์–ผ๋งˆ์ž…๋‹ˆ๊นŒ?", "role": "user" }, { "content": "[KOR] q2_2017_hotels_restaurants = 7\nq2_2018_hotels_restaurants = 9\nsum = q2_2017_hotels_restaurants + q2_2018_hotels_restaurants\nprint(sum)", "role": "assistant" } ]
chartgemma-chartgemma_img1_12292
[ { "content": "<image>program of thought: Is the sum of All ages and 50-69 years old greater than Age-standarized?", "from": "human" }, { "content": "all_ages = 0.74\nage_50_69 = 0.22\nage_standarized = 1.19\nsum_all_ages_50_69 = all_ages + age_50_69\nprint(sum_all_ages_50_69 > age_standarized)", "from": "gpt" } ]
[ { "content": "ํ”„๋กœ๊ทธ๋žจ์˜ ์ƒ๊ฐ: ๋ชจ๋“  ์—ฐ๋ น๊ณผ 50-69์„ธ ์—ฐ๋ น๋Œ€์˜ ํ•ฉ์ด ์—ฐ๋ น ํ‘œ์ค€ํ™”๋ณด๋‹ค ํฐ๊ฐ€์š”?", "role": "user" }, { "content": "[KOR] all_ages = 0.74\nage_50_69 = 0.22\nage_standarized = 1.19\nsum_all_ages_50_69 = all_ages + age_50_69\nprint(sum_all_ages_50_69 > age_standarized)", "role": "assistant" } ]
chartgemma-chartgemma_img1_36220
[ { "content": "program of thought: What's the average of the blue bar in 30-49 and 65+ age group?<image>", "from": "human" }, { "content": "a = 51\nb = 58\navg = (a + b) / 2\nprint(avg)", "from": "gpt" } ]
[ { "content": "์‚ฌ๊ณ  ํ”„๋กœ๊ทธ๋žจ: 30-49์„ธ์™€ 65์„ธ ์ด์ƒ ์—ฐ๋ น๋Œ€์˜ ํŒŒ๋ž€์ƒ‰ ๋ง‰๋Œ€ ํ‰๊ท ์€ ์–ผ๋งˆ์ž…๋‹ˆ๊นŒ?", "role": "user" }, { "content": "[KOR] a = 51\nb = 58\navg = (a + b) / 2\nprint(avg)", "role": "assistant" } ]
chartgemma-chartgemma_img1_21984
[ { "content": "program of thought: What is the difference between the GDP growth in 2018 and 2019?<image>", "from": "human" }, { "content": "growth_2018 = 3.5\ngrowth_2019 = 1.35\ndifference = growth_2018 - growth_2019\nprint(difference)", "from": "gpt" } ]
[ { "content": "์‚ฌ๊ณ  ํ”„๋กœ๊ทธ๋žจ: 2018๋…„๊ณผ 2019๋…„์˜ GDP ์„ฑ์žฅ์˜ ์ฐจ์ด๋Š” ๋ฌด์—‡์ž…๋‹ˆ๊นŒ?", "role": "user" }, { "content": "[KOR] growth_2018 = 3.5\ngrowth_2019 = 1.35\ndifference = growth_2018 - growth_2019\nprint(difference)", "role": "assistant" } ]
chartgemma-chartgemma_img1_17988
[ { "content": "<image>program of thought: What's the median value of red graph?", "from": "human" }, { "content": "red_graph_values = [62, 59, 48]\nmedian_value = sorted(red_graph_values)[1]\nprint(median_value)", "from": "gpt" } ]
[ { "content": "์‚ฌ๊ณ  ํ”„๋กœ๊ทธ๋žจ: ๋นจ๊ฐ„์ƒ‰ ๊ทธ๋ž˜ํ”„์˜ ์ค‘์•™๊ฐ’์€ ๋ฌด์—‡์ž…๋‹ˆ๊นŒ?", "role": "user" }, { "content": "[KOR] red_graph_values = [62, 59, 48]\nmedian_value = sorted(red_graph_values)[1]\nprint(median_value)", "role": "assistant" } ]
chartgemma-chartgemma_img1_27252
[ { "content": "program of thought: What is the labor force participation rate of the bar that is closest to the average of the bar heights?<image>", "from": "human" }, { "content": "rates = [66.2, 66.1, 66.6, 66.7, 67, 68.3, 68, 67.7, 67.7, 68]\naverage = sum(rates) / len(rates)\nclosest_to_average = min(rates, key=lambda x: abs(x - average))\nprint(closest_to_average)", "from": "gpt" } ]
[ { "content": "์‚ฌ๊ณ  ํ”„๋กœ๊ทธ๋žจ: ๋ง‰๋Œ€ ๊ทธ๋ž˜ํ”„์˜ ํ‰๊ท  ๋†’์ด์—์„œ ๊ฐ€์žฅ ๊ฐ€๊นŒ์šด ๋ง‰๋Œ€์˜ ๋…ธ๋™ ์ธ๊ตฌ ์ฐธ์—ฌ์œจ์€ ์–ผ๋งˆ์ž…๋‹ˆ๊นŒ?", "role": "user" }, { "content": "[KOR] rates = [66.2, 66.1, 66.6, 66.7, 67, 68.3, 68, 67.7, 67.7, 68]\naverage = sum(rates) / len(rates)\nclosest_to_average = min(rates, key=lambda x: abs(x - average))\nprint(closest_to_average)", "role": "assistant" } ]
chartgemma-chartgemma_img1_62036
[ { "content": "<image>program of thought: How many shows have a percentage of positive responses greater than 65?", "from": "human" }, { "content": "percentages = [71, 69, 68, 67, 67, 64, 62, 62, 62, 61]\ncount = 0\nfor percentage in percentages:\n if percentage > 65:\n count += 1\nprint(count)", "from": "gpt" } ]
[ { "content": "[KOR] ์‚ฌ๊ณ ์˜ ํ”„๋กœ๊ทธ๋žจ: ๊ธ์ •์ ์ธ ์‘๋‹ต์˜ ๋น„์œจ์ด 65๋ณด๋‹ค ํฐ ์‡ผ๋Š” ๋ช‡ ๊ฐœ์ธ๊ฐ€์š”? [/KOR", "role": "user" } ]
chartgemma-chartgemma_img1_29712
[ { "content": "<image>program of thought: What is the sum of the revenue from 2016 to 2019?", "from": "human" }, { "content": "revenue_2016 = 21.5\nrevenue_2017 = 23.63\nrevenue_2018 = 28.19\nrevenue_2019 = 26.8\nsum = revenue_2016 + revenue_2017 + revenue_2018 + revenue_2019\nprint(sum)", "from": "gpt" } ]
[ { "content": "์‚ฌ๊ณ ์˜ ํ”„๋กœ๊ทธ๋žจ: 2016๋…„๋ถ€ํ„ฐ 2019๋…„๊นŒ์ง€์˜ ์ˆ˜์ต ํ•ฉ๊ณ„๋Š” ์–ผ๋งˆ์ž…๋‹ˆ๊นŒ?", "role": "user" }, { "content": "[KOR] revenue_2016 = 21.5\nrevenue_2017 = 23.63\nrevenue_2018 = 28.19\nrevenue_2019 = 26.8\nsum = revenue_2016 + revenue_2017 + revenue_2018 + revenue_2019\nprint(sum)", "role": "assistant" } ]
chartgemma-chartgemma_img1_8064
[ { "content": "<image>program of thought: What is the label of the method that is the largest slice of the pie chart?", "from": "human" }, { "content": "answer = 'Armed struggle'\nprint(answer)", "from": "gpt" } ]
[ { "content": "์‚ฌ๊ณ  ํ”„๋กœ๊ทธ๋žจ: ํŒŒ์ด ์ฐจํŠธ์˜ ๊ฐ€์žฅ ํฐ ์กฐ๊ฐ์ธ ๋ฐฉ๋ฒ•์˜ ๋ ˆ์ด๋ธ”์€ ๋ฌด์—‡์ž…๋‹ˆ๊นŒ?", "role": "user" }, { "content": "[KOR] ๋‹ต๋ณ€: '๋ฌด์žฅ ํˆฌ์Ÿ' ์ž…๋‹ˆ๋‹ค.", "role": "assistant" } ]
chartgemma-chartgemma_img1_30268
[ { "content": "<image>program of thought: What is the average percentage of adults who say maybe regarding all four statements?", "from": "human" }, { "content": "percentage_maybe_offer_programs = 16\npercentage_maybe_comfortable_spaces = 30\npercentage_maybe_buy_printers = 37\npercentage_maybe_move_books = 40\naverage = (percentage_maybe_offer_programs + percentage_maybe_comfortable_spaces + percentage_maybe_buy_printers + percentage_maybe_move_books) / 4\nprint(average)", "from": "gpt" } ]
[ { "content": "์‚ฌ๊ณ  ํ”„๋กœ๊ทธ๋žจ: ๋„ค ๊ฐ€์ง€ ์ง„์ˆ ์— ๋Œ€ํ•ด '์–ด์ฉŒ๋ฉด'์ด๋ผ๊ณ  ๋งํ•˜๋Š” ์„ฑ์ธ์˜ ํ‰๊ท  ๋ฐฑ๋ถ„์œจ์€ ์–ผ๋งˆ์ž…๋‹ˆ๊นŒ?", "role": "user" }, { "content": "[KOR] percentage_maybe_offer_programs = 16\npercentage_maybe_comfortable_spaces = 30\npercentage_maybe_buy_printers = 37\npercentage_maybe_move_books = 40\naverage = (percentage_maybe_offer_programs + percentage_maybe_comfortable_spaces + percentage_maybe_buy_printers + percentage_maybe_move_books) / 4\nprint(average)", "role": "assistant" } ]