Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Redistribute string entries in a huge pandas data frame in Pyhon

I have a data frame (derived from a CSV file) with about 100M entries that looks like this:     df1:                  var1     var2     0          1        2     1          2        1     2          1  {3,4,5}     3          5        6     4  {4,5,

Merge Sort Algorithm

Merge sort is a sorting algorithm that uses "Divide and Conquer" method to sort the array.It divides the array into two halves and then recursively sort the two sub-array and then merge the two sorted sub-arrays into sequence. Time complexity of Mer

Android Version Names

Each version of Android is having a specific code name since Android version 1.5. These name are English alphabetically and a confectionery theme based (usually , sugary foods). And these names belongs to one or more version names. Below is the list

how to remove duplicate key values from an array using Javascript

Hello Reader's, If you have an array having the multiple duplicate key values then by using Javascript you can make them skip. Let's see the example below:- Lets say an array full of duplicate data. var axes2=[1,4,5,2,3,1,2,3,4,5,1,3,4]; var

Answer for this question in C/C++

Given an array of numbers I, write a program to find the sum of remaining in the array and display the new array. the first line specifies the no of elements in the array followed by the elements in the array in the second line. Sample input: 4 1 2

Tower of Hanoi Implementation in Java

Hi Readers, In this blog i will provide you the Java solution for the famous Tower of Hanoi problem using Stack. Problem definition Tower of Hanoi is a mathematical puzzle. It is also known as Tower of Brahma or Locus' Tower. This puzzle

Accessing Values in Lists in Python

To access values in lists, use the square brackets for slicing along with the index or indices to obtain value available at that index. For example − #!/usr/bin/python list1 = ['physics', 'chemistry', 1997, 2000]; list2 = [1, 2, 3, 4, 5, 6, 7 ]; p

Range operators in Ruby

Range operators in ruby are used to extract a sequence. Sequences have an initial point and end point by which we can generate consecutive values in the sequence. The values of a range may be objects, numbers, characters or strings.   There ar

Counting Sort

Hi, This blog is to help you to understand counting sort in easiest manner, counting sort can sort the range in linear time but we have to provide the starting element and last highest element of the range (means elements in the range shou

Split array up into n-groups of m size?

A very good method i found in ruby so just thought to share it with everyone, so i am writing this blog to share and help others. This particular blog is for splitting up of array into many groups. Lets see this as an example below: 1) arr = (1..6).

prev 1 3 … 485
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: