Image from DALLE-3
It is now evident that those who rapidly adopt ai will lead the way, while those who resist change will be replaced by those already using it. artificial intelligence is no longer just a fad; It is becoming an essential tool in various industries, including data science. Developers and researchers are increasingly using ai-based tools to simplify their workflows, and one such tool that has gained immense popularity recently is ChatGPT.
In this blog, I will discuss the 7 best ai tools that have made my life easier as a data scientist. These tools are indispensable in my daily tasks, such as writing tutorials, researching, coding, analyzing data, and performing machine learning tasks. By sharing these tools, I hope to help other data scientists and researchers optimize their workflows and stay ahead in the ever-evolving field of ai.
Every data professional is familiar with pandas, a Python package used for data manipulation and analysis. But what if I told you that instead of writing code, you can analyze and generate data visualizations simply by typing a message or a question? that is what ai.com/” rel=”noopener” target=”_blank”>PandasAI it does: it's like an ai agent for your Python workflow that automates data analysis using various ai models. You can even use locally run models.
In the code below, we have created an agent using the pandas data frame and the OpenAI model. This agent can perform various tasks on your data frame using natural language. We asked a simple question and then requested an explanation of how he arrived at the results.
import os
import pandas as pd
from pandasai.llm import OpenAI
from pandasai import Agent
sales_by_country = pd.DataFrame(
{
"country": (
"United States",
"United Kingdom",
"France",
"Germany",
"Italy",
"Spain",
"Canada",
"Australia",
"Japan",
"China",
),
"sales": (5000, 3200, 2900, 4100, 2300, 2100, 2500, 2600, 4500, 7000),
}
)
llm = OpenAI(api_token=os.environ("OPENAI_API_KEY"))
pandas_ai_df = Agent(sales_by_country, config={"llm": llm})
response = pandas_ai_df.chat("Which are the top 5 countries by sales?")
explanation = pandas_ai_df.explain()
print("Answer:", response)
print("Explanation:", explanation)
The results are surprising. Experimenting with my real-life data would have taken me at least half an hour.
Answer: The top 5 countries by sales are: China, United States, Japan, Germany, United Kingdom
Explanation: I looked at the data we have and found a way to sort it based on sales. Then, I picked the top 5 countries with the highest sales numbers. Finally, I put those countries into a list and created a sentence to show them as the top 5 countries by sales.
GitHub Copilot Now necessary if you are a full-time developer or work with code every day. Because? Improves your ability to write clean, efficient code faster. You can even chat with your file and debug it faster or generate contextual code.
<img decoding="async" alt="Top 7 ai Tools for Data Science Workflow” width=”100%” src=”https://technicalterrence.com/wp-content/uploads/2024/03/1711660906_871_Top-7-AI-Tools-for-Data-Science-Workflow.png”/><img decoding="async" src="https://technicalterrence.com/wp-content/uploads/2024/03/1711660906_871_Top-7-AI-Tools-for-Data-Science-Workflow.png" alt="Top 7 ai Tools for Data Science Workflow” width=”100%”/>
GitHub Copilot includes ai chatbot, online chatbox, code generation, autocomplete, CLI autocomplete, and other GitHub-based features that can help with finding and understanding code.
GitHub Copilot is a paid tool, so if you don't want to pay $10 a month, you should check out the 5 Best ai Coding Assistants You Should Try.
ChatGPT has been dominating the ai space for 2 years. People use it to write emails, generate content, generate code, and all kinds of nominal work-related tasks.
<img decoding="async" alt="Top 7 ai Tools for Data Science Workflow” width=”100%” src=”https://technicalterrence.com/wp-content/uploads/2024/03/1711660906_927_Top-7-AI-Tools-for-Data-Science-Workflow.png”/><img decoding="async" src="https://technicalterrence.com/wp-content/uploads/2024/03/1711660906_927_Top-7-AI-Tools-for-Data-Science-Workflow.png" alt="Top 7 ai Tools for Data Science Workflow” width=”100%”/>
If you pay for a subscription, you get access to the state-of-the-art GPT-4 model, which is great for solving complex problems.
I use it daily to generate code, explain it, ask general questions, and generate content. Work generated by ai is not always perfect. You may need to make some modifications to present it to a broader audience.
ChatGPT is an essential tool for data scientists. Using it is not cheating. Instead, it saves you time in researching and finding solutions compared to others.
If you value privacy, consider running open source ai models on your laptop. Check out 5 ways to use LLM on your laptop.
If you have trained a deep neural network for a complex machine learning task, you must first have trained it on Google Co. due to the availability of freely available GPUs and TPUs. With the rise of generative ai, Google Colab has recently introduced some features that will help you generate code, debug faster, and auto-complete.
<img decoding="async" alt="Top 7 ai Tools for Data Science Workflow” width=”100%” src=”https://technicalterrence.com/wp-content/uploads/2024/03/1711660906_918_Top-7-AI-Tools-for-Data-Science-Workflow.png”/><img decoding="async" src="https://technicalterrence.com/wp-content/uploads/2024/03/1711660906_918_Top-7-AI-Tools-for-Data-Science-Workflow.png" alt="Top 7 ai Tools for Data Science Workflow” width=”100%”/>
Colab ai is like an ai coding assistant built into your workspace. You can generate code by simply requesting and asking follow-up questions. It also comes with online code prompts, although it has limited use with the free version.
I highly recommend getting the paid version as it provides better GPUs and an overall better encoding experience.
Discover the ai-coding-assistants” rel=”noopener” target=”_blank”>Top 11 ai Coding Assistants for 2024 and try all the alternatives to Colab ai to find the one that best suits your needs.
I have been using ai/” rel=”noopener” target=”_blank”>ai Perplexity as my new search engine and research assistant. It helps me learn about new technologies and concepts by providing concise, up-to-date summaries with links to relevant blogs and videos. I can even ask follow-up questions and get a modified answer.
<img decoding="async" alt="Top 7 ai Tools for Data Science Workflow” width=”100%” src=”https://technicalterrence.com/wp-content/uploads/2024/03/1711660906_180_Top-7-AI-Tools-for-Data-Science-Workflow.png”/><img decoding="async" src="https://technicalterrence.com/wp-content/uploads/2024/03/1711660906_180_Top-7-AI-Tools-for-Data-Science-Workflow.png" alt="Top 7 ai Tools for Data Science Workflow” width=”100%”/>
Perplexity ai offers several features to help its users. It can answer a wide range of questions, from basic facts to complex queries, using the latest sources. Its Copilot feature allows users to explore their topics in depth, allowing them to expand their knowledge and discover new areas of interest. Additionally, users can organize their search results into “Collections” based on projects or topics, making it easier to find what they need in the future.
Check out 8 ai-powered search engines that can improve your internet search and research capabilities as an alternative to Google.
I want to let you know that grammatically It is an exceptional tool for people with dyslexia. It helps me write content quickly and accurately. I've been using Grammarly for almost 9 years and love the features that correct my spelling, grammar, and overall structure of my writing. Recently, they introduced Grammarly ai, which allows me to improve my writing with the help of generative ai models. This tool has made my life easier because I can now write better emails, direct messages, content, tutorials, and reports. It is a vital tool for me, very similar to Canva.
<img decoding="async" alt="Top 7 ai Tools for Data Science Workflow” width=”100%” src=”https://technicalterrence.com/wp-content/uploads/2024/03/1711660907_741_Top-7-AI-Tools-for-Data-Science-Workflow.png”/><img decoding="async" src="https://technicalterrence.com/wp-content/uploads/2024/03/1711660907_741_Top-7-AI-Tools-for-Data-Science-Workflow.png" alt="Top 7 ai Tools for Data Science Workflow” width=”100%”/>
hugging face It is not just a tool, but an entire ecosystem that has become an essential part of my daily work life. I use it to access datasets, models, machine learning demos, and APIs for ai models. Additionally, I rely on various Hugging Face Python packages to train, tune, test, and deploy machine learning models.
<img decoding="async" alt="Top 7 ai Tools for Data Science Workflow” width=”100%” src=”https://technicalterrence.com/wp-content/uploads/2024/03/1711660907_447_Top-7-AI-Tools-for-Data-Science-Workflow.png”/><img decoding="async" src="https://technicalterrence.com/wp-content/uploads/2024/03/1711660907_447_Top-7-AI-Tools-for-Data-Science-Workflow.png" alt="Top 7 ai Tools for Data Science Workflow” width=”100%”/>
Hugging Face is an open source platform that is free for the community and allows people to host ai datasets, models, and demos. It even allows you to implement your model inferences and run them on GPU. In the coming years, it is likely to become the primary platform for data discussion, research, development, and operations.
Discover the Top 10 Data Science Tools to Use in 2024 and become a super data scientist, solving data problems better than anyone else.
I have been using travis, an ai-based tutor, to conduct research on advanced topics like MLOps, LLMOps, and data engineering. It provides simple explanations on these topics and you can ask follow-up questions like with any chatbot. It's perfect for those who only want search results from top publications on Medium.
In this blog, we have explored 7 powerful ai tools that can significantly improve the productivity and efficiency of data scientists and researchers, from conversational data analysis with PandasAI to code generation and debugging assistance with GitHub Copilot and Colab ai, which offer innovative capabilities to simplify complex code-related tasks and save valuable time. ChatGPT's versatility enables content generation, code explanation, and problem solving, while Perplexity ai provides an intelligent search engine and research assistant. Grammarly ai offers invaluable writing assistance and Hugging Face serves as a comprehensive ecosystem for accessing datasets, models, and APIs to develop and deploy machine learning solutions.
Abid Ali Awan (@1abidaliawan) is a certified professional data scientist who loves building machine learning models. Currently, he focuses on content creation and writing technical blogs on data science and machine learning technologies. Abid has a master's degree in technology management and a bachelor's degree in telecommunications engineering. His vision is to build an artificial intelligence product using a graph neural network for students struggling with mental illness.