• Home
  • Latest
  • Fortune 500
  • Finance
  • Tech
  • Leadership
  • Lifestyle
  • Rankings
  • Multimedia

Trendingnow

1

Analysts expected oil to surge above $200 but China has quietly kept prices half of that—and can’t for much longer

2

Corporate America has been draining the world's water. Matt Damon's new campaign calls on Gap, Starbucks, and Amazon to help give it back

3

Marc Lore’s robots make 500 burrito bowls an hour. A human can make 45

1

Analysts expected oil to surge above $200 but China has quietly kept prices half of that—and can’t for much longer

2

Corporate America has been draining the world's water. Matt Damon's new campaign calls on Gap, Starbucks, and Amazon to help give it back

3

Marc Lore’s robots make 500 burrito bowls an hour. A human can make 45
TechAI

Wharton professor says ‘things that took me weeks to master in my PhD’ take ‘seconds’ with new ChatGPT tool

By
Stephen Pastis
Stephen Pastis
Down Arrow Button Icon
By
Stephen Pastis
Stephen Pastis
Down Arrow Button Icon
July 8, 2023, 7:05 AM ET
Code Interpreter for ChatGPT democratizes data analysis, says Wharton's Ethan Mollick, and might be the most useful A.I. application so far.
Code Interpreter for ChatGPT democratizes data analysis, says Wharton's Ethan Mollick, and might be the most useful A.I. application so far. getty

Now, anyone with $20 can have a personal A.I. assistant skilled in data analysis. 

Code Interpreter—a new OpenAI tool for ChatGPT that can run code, work with uploaded files, analyze data, create charts, edit files, and perform math—was released Friday for all subscribers to the $20-per-month ChatGPT Plus service. 

For Ethan Mollick, an early adopter of A.I. and management professor at the Wharton School of the University of Pennsylvania, it might be the most useful, interesting application of the technology so far—and the strongest case yet for a future where artificial intelligence is a valuable companion for sophisticated knowledge work.

“Things that took me weeks to master in my Ph.D. were completed in seconds by the AI, and there were generally fewer errors than I would expect from a human analyst. Human supervision is still vital, but I would not do a data project without Code Interpreter at this point,” Mollick writes in a blog post published Friday. 

With the ability to write code and with access to a large memory—users can upload files up to 100MB—it integrates new capabilities into ChatGPT “in ways that play to the strengths” of large language models, the A.I. technology behind ChatGPT, writes Mollick, who as a researcher was granted early access to Code Interpreter.

“Specifically, it gives the AI a general-purpose toolbox to solve problems,” Mollick writes.

In other words, Code Interpreter elevates the A.I. assistant beyond just generating text responses. It’s valuable to anyone—not just academics and coders— looking to do research. As for the future of work, it’s “a sign of things to come,” Mollick writes.

It also has fewer “hallucinations” because it’s using Python, a versatile programming language used for software building and data analysis, he added. “It closes some of the gaps in language models,” Mollick told Fortune, because the output is not based solely on text. The code is being run through Python, which generates error messages if it’s incorrect. 

Feed it a set of data on superheroes, for example, and Code Interpreter accomplishes the grueling task of cleaning and merging the data “in a quite sophisticated way,” with a “relentless” effort to ensure accuracy (though it always needs to be double-checked, he adds). Users can also go back and forth with Code Interpreter when making visualizations of the data, asking for various changes and improvements

Then, it can perform or recommend a decent analysis, writes Mollick. In this case, it did some predictive modeling, where we can predict what powers a hero might have based on other factors.

“The AI is capable of many other analyses (it is ‘just’ writing Python code, after all) but I was often impressed by its ability to select analytical approaches that made sense,” Mollick writes. 

Code Interpreter’s most striking feature, according to Mollick, is the way it reasons about data “in ways that seem very human.” From the analysis of the superhero data, for instance, it observed that the powers were often visually noticeable because they derived from the comic book medium.

From creating a cute chart to doing regression analysis, Code Interpreter could be the automation people hope for, freeing them from tedious work and giving them more time to focus on “deeper and more satisfying” work. It also democratizes access to complicated data analysis, he told Fortune. 

“Code Interpreter represents the clearest positive vision so far of what AIs can mean for work: disruption, yes, but disruption that leads to better, more meaningful work,” he writes. “I think it is important for all of us to think about how we can take this same approach to other jobs that will be impacted by AI.”

About the Author
By Stephen Pastis
LinkedIn iconTwitter icon
See full bioRight Arrow Button Icon

Latest in Tech

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025

Most Popular

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Fortune Secondary Logo
Rankings
  • 100 Best Companies
  • Fortune 500
  • Global 500
  • Fortune 500 Europe
  • Most Powerful Women
  • World's Most Admired Companies
  • See All Rankings
  • Lists Calendar
Sections
  • Finance
  • Fortune Crypto
  • Features
  • Leadership
  • Health
  • Commentary
  • Success
  • Retail
  • Mpw
  • Tech
  • Lifestyle
  • CEO Initiative
  • Asia
  • Politics
  • Conferences
  • Europe
  • Newsletters
  • Personal Finance
  • Environment
  • Magazine
  • Education
Customer Support
  • Frequently Asked Questions
  • Customer Service Portal
  • Privacy Policy
  • Terms Of Use
  • Single Issues For Purchase
  • International Print
Commercial Services
  • Advertising
  • Fortune Brand Studio
  • Fortune Analytics
  • Fortune Conferences
  • Business Development
  • Group Subscriptions
About Us
  • About Us
  • Press Center
  • Work At Fortune
  • Terms And Conditions
  • Site Map
  • About Us
  • Press Center
  • Work At Fortune
  • Terms And Conditions
  • Site Map
  • Facebook icon
  • Twitter icon
  • LinkedIn icon
  • Instagram icon
  • Pinterest icon

Latest in Tech

A person holds an iPhone as someone next to them points at the screen.
EconomyApple iPhone
You can blame America’s plummeting fertility rate on the iPhone, study finds: ‘People are all depressed and alone and doomscrolling’
By Sasha RogelbergJune 12, 2026
1 hour ago
SpaceX’s IPO could be largest in history. Here’s how it compares to previous record-holders
Startups & VentureSpaceX
SpaceX’s IPO could be largest in history. Here’s how it compares to previous record-holders
By Mia OsmonbekovJune 12, 2026
1 hour ago
Why is it so hard to get ROI from AI? Because building from first principles isn’t easy
NewslettersEye on AI
Why is it so hard to get ROI from AI? Because building from first principles isn’t easy
By Jeremy KahnJune 11, 2026
9 hours ago
SpaceX lowballed its bankers on fees. Goldman Sachs has another way to win big
Startups & VentureFinance
SpaceX lowballed its bankers on fees. Goldman Sachs has another way to win big
By Shawn TullyJune 11, 2026
10 hours ago
Three ways that Asia’s enterprises are adopting AI—and where they are falling behind
CommentaryOracle
Three ways that Asia’s enterprises are adopting AI—and where they are falling behind
By Garrett IlgJune 11, 2026
11 hours ago
Dr. Shiv Rao speaks
Startups & VentureHealth
Abridge wants to be the operating system for medicine—and NVIDIA and Eli Lilly are helping build it
By Lily Mae LazarusJune 11, 2026
14 hours ago

Most Popular

Analysts expected oil to surge above $200 but China has quietly kept prices half of that—and can’t for much longer
Energy
Analysts expected oil to surge above $200 but China has quietly kept prices half of that—and can’t for much longer
By Sasha RogelbergJune 10, 2026
2 days ago
Corporate America has been draining the world's water. Matt Damon's new campaign calls on Gap, Starbucks, and Amazon to help give it back
Environment
Corporate America has been draining the world's water. Matt Damon's new campaign calls on Gap, Starbucks, and Amazon to help give it back
By Catherina GioinoJune 9, 2026
3 days ago
Marc Lore’s robots make 500 burrito bowls an hour. A human can make 45
Innovation
Marc Lore’s robots make 500 burrito bowls an hour. A human can make 45
By Amanda GerutJune 9, 2026
2 days ago
Current price of oil as of June 11, 2026
Personal Finance
Current price of oil as of June 11, 2026
By Joseph HostetlerJune 11, 2026
19 hours ago
Costco CEO Ron Vachris rose from forklift driver to the C-suite without a college degree: ‘Don’t chase a title’ is the career advice that got him there
Success
Costco CEO Ron Vachris rose from forklift driver to the C-suite without a college degree: ‘Don’t chase a title’ is the career advice that got him there
By Preston ForeJune 8, 2026
4 days ago
SpaceX's record IPO has Wall Street torn between a Musk 'holy grail' and a $135-per-share leap of faith
Startups & Venture
SpaceX's record IPO has Wall Street torn between a Musk 'holy grail' and a $135-per-share leap of faith
By Marco Quiroz-GutierrezJune 11, 2026
1 day ago

© 2026 Fortune Media IP Limited. All Rights Reserved. Use of this site constitutes acceptance of our Terms of Use and Privacy Policy | CA Notice at Collection and Privacy Notice | Do Not Sell/Share My Personal Information
FORTUNE is a trademark of Fortune Media IP Limited, registered in the U.S. and other countries. FORTUNE may receive compensation for some links to products and services on this website. Offers may be subject to change without notice.