Tushar Sharma has Published 68 Articles

How to Split Data into Training and Testing in Python without Sklearn

Tushar Sharma

Tushar Sharma

Updated on 28-Aug-2023 20:20:21

1K+ Views

In the domain of machine learning or artificial intelligence models, data stands as the backbone. The way this data gets handled shapes the holistic performance of the model. This includes the indispensable task of segregating the dataset into learning and verification sets. While sklearn's train_test_split() is a frequently employed method, ... Read More

How do I Install Python Packages in Anaconda?

Tushar Sharma

Tushar Sharma

Updated on 28-Aug-2023 13:26:02

41K+ Views

One of the most popular ways to manage and distribute Python packages is through the Anaconda distribution, which is a free and open-source distribution of Python. Installing Python packages in Anaconda is a simple process that can be done through various methods, such as using the conda command, pip, or ... Read More

How do I call a Variable from Another Function in Python?

Tushar Sharma

Tushar Sharma

Updated on 28-Aug-2023 13:02:36

47K+ Views

A variable is a way of storing values in the Python programming language so they can be used later in the program. These variables frequently find use within functions, necessitating the need to access a variable from another function. We shall examine Python's methods for calling a variable from another ... Read More

How to Split a File into a List in Python?

Tushar Sharma

Tushar Sharma

Updated on 09-Aug-2023 18:42:14

389 Views

Python, a sophisticated, all-purpose coding language, has emerged as the universal dialect in many spheres, particularly analytics, internet creation, automation, and beyond. Its inherent accessibility and adaptability have made it a top choice for beginners and coders alike. One of Python's unparalleled strengths is its ability to manipulate documents, ... Read More

How to Speedup Pandas with One-Line change using Modin?

Tushar Sharma

Tushar Sharma

Updated on 09-Aug-2023 18:41:11

169 Views

Data is considered the new oil in this information era. Python, with its extensive libraries, is one of the leading programming languages for data analysis, and Pandas, a Python library, is its crown jewel. However, as datasets have ballooned, Pandas users have found their workflows hampered by its relatively slow ... Read More

How to speed up Pandas with cuDF?

Tushar Sharma

Tushar Sharma

Updated on 09-Aug-2023 18:40:29

347 Views

When it comes to the utilization of Python in the data analysis realm, Pandas stands as a renowned library extensively employed for its potent capabilities in data manipulation. Nevertheless, one might encounter speed bumps while handling substantial datasets via Pandas, chiefly in systems centered around CPU. A brilliant alternative to ... Read More

How to Sort Date in Excel using Pandas?

Tushar Sharma

Tushar Sharma

Updated on 09-Aug-2023 18:34:08

1K+ Views

Robust applications such as Excel have made their mark in handling data arrays, but certain intricate manipulations may require a more potent toolset. Specifically, the task of arranging date-based entries can pose unique challenges if the initial data is skewed or necessitates an advanced sorting mechanism. Pandas - a formidable ... Read More

10 Python File System Methods You Should Know

Tushar Sharma

Tushar Sharma

Updated on 09-Aug-2023 17:44:29

358 Views

Collaborating with the file organization is a routine undertaking in coding, and Python equips a bountiful collection of instruments to connect with files and folders. In this discourse, we'll unfold ten Python file management functions that you ought to comprehend to streamline your coding endeavors. We'll escort you through each ... Read More

How To Track ISS (International Space Station) Using Python?

Tushar Sharma

Tushar Sharma

Updated on 10-Jul-2023 19:31:33

722 Views

Exploring the whereabouts of the International Space Station (ISS) and witnessing its real−time movements can be an exhilarating experience. The following article aims to showcase how Python can be utilized to track the ISS, utilizing the ISS API provided by Open Notify and visualizing its location on an interactive world ... Read More

How to Throttle API with Django Rest Framework

Tushar Sharma

Tushar Sharma

Updated on 10-Jul-2023 19:28:16

654 Views

In the realm of building APIs using the renowned Django Rest Framework (DRF), one must skillfully navigate the challenges posed by managing the rate at which clients can unleash their torrent of requests upon your API endpoints. Throttling mechanisms come to the rescue by effectively safeguarding against potential abuse, protecting ... Read More

Advertisements