Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Articles by Prabhdeep Singh
Page 15 of 17
Writing Efficient Python Code
In this article, we are going to discuss how to write efficient code in python and also discuss their importance. Python is a robust programming language that allows you to accomplish a lot with a minimal amount of code. You must prevent the use of code that is not necessary and employ suitable procedures and strategies to make your code run more quickly if you want to produce effective and optimized code. This article will go over several methods for writing Python code more quickly and effectively. Like − Establishing a function. Reduce unnecessary operations. Do not declare ...
Read MoreIntroduction to Data Science in Python
As the world entered the era of big data in recent decades, the demand for more effective and efficient data storage greatly expanded. Businesses that use big data invest a lot of time and energy in creating frameworks that can hold a lot of information. The storage of vast amounts of data was then made possible by the creation of frameworks like Hadoop. As the storage issue can be resolved by using the frameworks the next issue that comes is to process the data that had already been stored. The solution to processing the data and getting the useful information ...
Read MoreHow to easily manage your software using conda?
Conda is an environment and package manager which is the best and the easiest of all the competitors available in the market. The main need of the conda is to manage the software as there could be a triangle of the software where the first software will depend upon a specific version of the second software while a third software depends upon another specific version of the second software. For these types of situations, conda provides a different environment where both versions of the software can exist without impacting the another. Introduction to Software Software is a set of instructions, ...
Read MorePython Data Science using List and Iterators
Data science is the process of organizing, processing, and analyzing vast amounts of data in order to extract knowledge and insights from them. It involves a number of different fields, including statistical and mathematical modelling, data extraction from its source, and methods for data visualization. Working with big data technology to gather both structured and unstructured data is commonly required. In the parts that follow, we'll examine several applications of data science and how python might be useful there. Python is a widely used high-level, general-purpose, object-oriented, and interpreted language. To utilize Python for a task, one only needs to ...
Read MoreIntroduction to Git for Data Science
The data science and engineering fields are interacting more and more because data scientists are working on production systems and joining R&D teams. We want to make it simpler for data scientists without prior engineering experience to understand the core engineering best practices. We are building a manual on engineering subjects like Git, Docker, cloud infrastructure, and model serving that we hear data science practitioners think about. Introduction to Git A version control system called Git is made to keep track of changes made to a source code over time. Without a version control system, a collaboration between multiple people ...
Read MoreHow to set JavaScript Cookie with no expiration date?
In this tutorial, we are going to learn to set a JavaScript cookie with no expiration date. Web servers deliver cookies, which are tiny files with frequently unique identifiers, to browsers. Each time your browser requests a new page, the server will receive these cookies. It allows a website to keep track of your preferences and online behavior. The expiration option in a JavaScript cookie is optional. The “expires” attribute is optional. If you provide this attribute with a valid date or time, then the cookie will expire on a given date or time, and thereafter, the cookies' value will ...
Read MoreHow to serialize a JavaScript array?
In this tutorial, we are going to learn to serialize JavaScript arrays. The serializeArray() method serializes all forms and forms elements like the .serialize() method but returns a JSON data structure for you to work with. A JavaScript array of objects may be created using the built-in jQuery function serializeArray() that is ready to be encoded as a JSON string. It utilizes a set of forms and/or form controls from jQuery. There are several sorts of controls. Any JavaScript object may be converted into JSON using a JSON string, which can then be sent to the server. Syntax Now let’s ...
Read MoreHow to select multiple options in a dropdown list with JavaScript?
In this tutorial, we are going to learn how to select multiple options in a dropdown list with JavaScript. Basically, we are going to make two buttons, one is a drop-down button in which we provide more than one option, and another is a normal button connected to the multiFunc() function with an id of the dropdown button, when we click this button then we are able to select multiple options in the drop-down button. In this tutorial we are using two properties of JavaScript one is DOM property i.e. document.getElementById and another one is multiple properties use to choose ...
Read MoreHow to secure my JavaScript using "Strict mode"?
In this tutorial, we are going to learn how to secure my JavaScript using “Strict mode”. There are some errors in the code which are just ignored by the JavaScript engine and if any line fails it perform nothing, to indicate that there is an error we can use the strict mode which will make the JavaScript engine throw an error. The ‘use strict’ is a literal expression which is the directive we can add to the code, not in any block. We can add this ‘use strict’ directive in the whole script, a function, or in a class. Syntax ...
Read MoreHow to return the protocol (http or https) of the web page with JavaScript?
In this tutorial, we will look at how to find which protocol is being used by a web page. A web page mostly uses http or https protocol. A protocol is a type of standard which is used to specify, how the data is transferred or transmitted between different sets of computer. HTTP − HTTP is a protocol for retrieving resources such as HTML pages. It is one of the most essential and the backbone for all types of data exchange that happens over the internet. HTTP is a client server protocol which means that all the requests are done ...
Read More