Speed Up Your Pandas Code with These Memory Optimization Tricks
Автор: Datahat -- Simplified AI
Загружено: 2022-10-16
Просмотров: 338
Описание:
Have you ever tried loading a large dataset using Pandas ??
By Default, Pandas loads the entire data into the memory which can often lead to memory insufficiency . Additionally, the transformations on Dataframes usually creates a copy in the memory, thus causing further memory bottleneck
Memory is costly and it is therefore very important to make efficient use of the available resources.
But then is there a way we could deal with this memory issues and load BIG Data using PANDAS ??
Indeed,
Using these 3 tricks, we could make better utilize our memory resources.
In addition, certain structures built around Pandas try to incorporate the capabilities of multithreading
One such popular framework is Dask
[We shall learn more about Dask later and for now read more here: https://docs.dask.org/en/stable/insta...]
In this video,
we shall learn about
Category data type in PANDAS Python
3 Tricks for Pandas Memory Optimization
Find out more about the techniques and a special data type in pandas, the 'category' dtype
doc: https://pandas.pydata.org/pandas-docs...
If you find the content useful, make sure to subscribe and share it with your friends and data science enthusiasts :]
--------------------------------------------------------------------------------------------------------------------------------------------
Why learn #datascience ??
"Data Science is the sexiest job of 21st century"
If you are a #btech student, #diploma in #computerscience, #graduate looking to #career #transition into #datascience , #machinelearning, #dataanalysis, this is a place for you
Everyone of us use social media platforms such as instagram, facebook, or binge watch on OTT platforms such as #youtube , netflix, prime, hotstar or window shop on e-commerce sites such as amazon, flipkart, myntra
It certainly amazes us to see the products of our choice and interest being #recommended to us, our favorite shows being filtered among millions of others
However, not many get to understand how it works. Not to worry, we shall help you understand the concepts in a #simplified and #concise fashion, helping in career transition into machine learning or data science
--------------------------------------------------------------------------------------------------------------------------------------
Why learn from datahat??
"Datahat is a bridge"
learners --- professionals by simplified data science
It provides a platform to learn, create and collaborate helping in the #career #transition to data science, machine learning and data analysis
Understand the broad domain of data science and its related subdomains in machine learning, data analysis, data engineering in a self paced, #structured and #guided learning
Here are few interesting reads on our blog: / souravagarwal54321
Connect with us on linkedIn: / datahat-unfoldingmystery
--------------------------------------------------------------------------------------------------------------------------------------
Additionally, here are few more useful resources for beginners and curious data enthusiasts
1. kaggle: a platform to learn, practice, compete and win cash prizes [https://www.kaggle.com/]
2. paperswithcode: website presenting the latest in machine learning and data science research and the code implementations [https://paperswithcode.com/]
3. google colab: a platform to run code, build machine learning solutions, explore the capabilities of GPU and TPU without any hassle in setting up the environment: [https://colab.research.google.com/]
Remember, "the greatest investment ever made is investment in self growth and learning"
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: