Most answered questions in Edureka Community

0 votes
1 answer

Show count of unique values for each value in the field in dataframe

Hi, Use below r code. For one field, you ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,030 points
1,797 views
0 votes
1 answer

How to create a function like f(y) = xy^2 in Python?

This is very easy. have a look ...READ MORE

Aug 5, 2019 in Python by Neel
• 3,020 points

edited Aug 6, 2019 by Kalgi 1,766 views
0 votes
1 answer

Puppet: error “Job for puppetserver.service failed because the control process exited with error code”

I noticed once when I started Puppet ...READ MORE

Aug 5, 2019 in Puppet by Sirajul
• 59,230 points
5,385 views
+2 votes
1 answer

After learning AWS architecture solutions - Is docker and kubernetes sufficient to get a better job

Hey @Diwakar, Once you know AWS, it's ...READ MORE

Aug 5, 2019 in Career Counselling by Kalgi
• 52,360 points
3,170 views
0 votes
1 answer

Get all tags from taggit

You can use all() to get all the tags ...READ MORE

Aug 5, 2019 in Python by SDeb
• 13,300 points
2,236 views
0 votes
1 answer

Python: is thread still running

The key is to start the thread ...READ MORE

Aug 5, 2019 in Python by SDeb
• 13,300 points
5,418 views
0 votes
1 answer

How to sort substring from a dataframe

First, extract the substring from the data ...READ MORE

Nov 4, 2019 in Data Analytics by Cherukuri
• 33,030 points
910 views
+1 vote
1 answer

i have shut down all my project on google cloud platform, will any charges be deducted from my debit card after one years ?

Hey @Keyur Aghera, You get to use ...READ MORE

Aug 5, 2019 in GCP by Kalgi
• 52,360 points
1,936 views
0 votes
1 answer

Can we run parallel jobs in Ansible

Running parallel tasks in Ansible is not ...READ MORE

Aug 5, 2019 in Ansible by Kalgi
• 52,360 points
4,721 views
+1 vote
1 answer

hyperledger fabric: can't find package: github.com/pkg/errors in GOPATH or GOROOT

Hey @aiga, try to add the package ...READ MORE

Aug 5, 2019 in Blockchain by Esha
1,859 views
+1 vote
1 answer

display the count of rows matching some criteria

Do you want to show a table ...READ MORE

Aug 5, 2019 in Power BI by anonymous
• 33,030 points
990 views
0 votes
1 answer

Setting up checkpoint dir: PySpark Data Science

You can follow the below steps: Change the ...READ MORE

Aug 2, 2019 in Data Analytics by Zulaikha
• 910 points
5,685 views
0 votes
1 answer

Data Science: Integrating RStudio to DashDB

You can connect dashDB to RStudio by ...READ MORE

Aug 2, 2019 in Data Analytics by hussain
420 views
0 votes
1 answer

How to use add_tally() and add_count()

Hey, add_tally and add_count returns the count of ...READ MORE

Sep 10, 2019 in Data Analytics by Cherukuri
• 33,030 points
4,363 views
0 votes
1 answer

How Foreach Operation works in Apache Spark?

Hi, foreach() operation is an action. It does not ...READ MORE

Aug 2, 2019 in Apache Spark by Gitika
• 65,910 points
6,039 views
0 votes
1 answer

How to convert Python Datetime to String without microsecond component?

If you want to format a datetime object in ...READ MORE

Aug 2, 2019 in Python by Shabnam
• 930 points
1,972 views
0 votes
1 answer

How SortBykey() operation works in Spark?

Hey, sortByKey() is a transformation. It returns an RDD sorted ...READ MORE

Aug 2, 2019 in Apache Spark by Gitika
• 65,910 points
5,837 views
0 votes
1 answer

How to rename a file using Python?

Hi, We can use rename() method to rename ...READ MORE

Aug 2, 2019 in Python by Shabnam
• 930 points
571 views
0 votes
1 answer

Choose a random starting word for building markov chain

Hey @Greg, this is possible. You can ...READ MORE

Aug 2, 2019 in Machine Learning by Bhavya
468 views
0 votes
1 answer

Numpy rounds very small number to zeros - Markov Chain(Python)

Use higher-precision floats, if available on your ...READ MORE

Aug 2, 2019 in Machine Learning by Harry
5,455 views
0 votes
1 answer

Calculate probabilities for Markov Chain - Python

You have to use the tuples from ...READ MORE

Aug 2, 2019 in Machine Learning by Ishaan
818 views
0 votes
1 answer

Markov chain using processing - Python

Try something like this @Gujjar HashMap<String, int> wordCount; int ...READ MORE

Aug 2, 2019 in Machine Learning by Ashish
648 views
0 votes
1 answer

Filter using dplyr

@Sagar, use filter followed by condition for ...READ MORE

Sep 10, 2019 in Data Analytics by kiran
724 views
0 votes
1 answer

What filter transformation in apache spark?

Hi, Filter() transformation in Apache Spark takes function ...READ MORE

Aug 2, 2019 in Apache Kafka by Gitika
• 65,910 points
1,248 views
0 votes
1 answer

In how many modes Apache spark can run?

Hey, You can launch spark application in four ...READ MORE

Aug 2, 2019 in Apache Spark by Gitika
• 65,910 points
1,348 views
0 votes
1 answer

Sqoop: ERROR tool.BaseSqoopTool: Error parsing arguments

There are two mistakes in the command ...READ MORE

Aug 2, 2019 in Big Data Hadoop by Kunal
7,084 views
0 votes
1 answer

Error while configuring Hiera for puppet

In order for changes to your hiera configuration to ...READ MORE

Aug 2, 2019 in Puppet by Sirajul
• 59,230 points
1,215 views
0 votes
1 answer

R - Dummy variable creation

@Uday, dummy variables can be created using ...READ MORE

Nov 4, 2019 in Data Analytics by Cherukuri
• 33,030 points
625 views
0 votes
1 answer

Python error "TypeError: unsupported operand type(s) for -: 'list' and 'int'"

Hey, look at your code's second last ...READ MORE

Aug 2, 2019 in Machine Learning by Naman
26,887 views
0 votes
1 answer

How to launch spark application in cluster mode in Spark?

Hi, To launch spark application in cluster mode, ...READ MORE

Aug 2, 2019 in Apache Spark by Gitika
• 65,910 points
4,739 views
0 votes
1 answer

Configure a node to connect to a PuppetDB

Step 1: Configure SSL: PuppetDB requires client authentication ...READ MORE

Aug 2, 2019 in Puppet by Sirajul
• 59,230 points
797 views
0 votes
1 answer

How to create paired RDD using subString method in Spark?

Hi, If you have a file with id ...READ MORE

Aug 2, 2019 in Apache Spark by Gitika
• 65,910 points
2,354 views
0 votes
1 answer

Puppet: Error while trying to execute shell commands in Exec resource type

The default exec provider on *nix OSes ...READ MORE

Aug 2, 2019 in Puppet by Sirajul
• 59,230 points
2,785 views
0 votes
1 answer

Tibble vs Dataframe

Hi Shilpa, The differences are - 1. Tibble ...READ MORE

Aug 26, 2019 in Data Analytics by anonymous
• 33,030 points
8,550 views
0 votes
1 answer

what is Paired RDD and how to create paired RDD in Spark?

Hi, Paired RDD is a distributed collection of ...READ MORE

Aug 2, 2019 in Apache Spark by Gitika
• 65,910 points
9,083 views
0 votes
1 answer

What is the logic to check if a number is prime or not in python?

n = int (input ('ENTER NUMBER TO ...READ MORE

Jul 16, 2020 in Python by amrut
• 240 points
845 views
0 votes
1 answer

Puppet agent log shows error "could not back up"

If agents log errors like "could not ...READ MORE

Aug 2, 2019 in Puppet by Sirajul
• 59,230 points
1,415 views
0 votes
1 answer

Can't seem to read files: "Invalid container ID"

You will have to start pig first ...READ MORE

Aug 2, 2019 in Big Data Hadoop by TIna
1,077 views
0 votes
1 answer

Puppet: How can i connect the puppet server to an external node classifier?

You need to configure two settings to ...READ MORE

Aug 2, 2019 in Puppet by Sirajul
• 59,230 points
753 views
+1 vote
1 answer

By default how many partitions are created in RDD in Apache spark?

Well, it depends on the block of ...READ MORE

Aug 2, 2019 in Apache Spark by Gitika
• 65,910 points
2,560 views
0 votes
1 answer

Join in RDD using keys

Suppose you have two dataset results( id, ...READ MORE

Aug 2, 2019 in Apache Spark by Trisha
7,971 views
0 votes
1 answer

Puppet: managing firewall rules

You can easily manage the firewall rules ...READ MORE

Aug 2, 2019 in Puppet by Sirajul
• 59,230 points
961 views
0 votes
1 answer

Scala: save filtered data row by row using saveAsTextFile

Try this code, it worked for me: val ...READ MORE

Aug 2, 2019 in Apache Spark by Karan
1,628 views
0 votes
1 answer

What are first class objects in Python?

First-class objects in a language are handled uniformly ...READ MORE

Aug 2, 2019 in Python by Arvind
• 3,040 points
2,878 views
0 votes
1 answer

How to remove a project from Pycharm?

Assuming that you have the project opened ...READ MORE

Aug 2, 2019 in Python by Arvind
• 3,040 points
14,686 views
0 votes
1 answer

Puppet: puppet agent --configprint server doesn't return a valid DNS name.

Agents trust the master only if they ...READ MORE

Aug 2, 2019 in Puppet by Sirajul
• 59,230 points
786 views
0 votes
1 answer

Puppet: err: getaddrinfo: The storage control blocks were destroyed.

This error occurs when the agent can't ...READ MORE

Aug 2, 2019 in Puppet by Sirajul
• 59,230 points
511 views
0 votes
1 answer

What is Hive on Spark?

Hi, Hive contains significant support for Apache Spark, ...READ MORE

Aug 2, 2019 in Apache Spark by Gitika
• 65,910 points
492 views
0 votes
1 answer

Puppet : PuppetDB upgrade

PuppetDB can be upgraded independently of your master ...READ MORE

Aug 2, 2019 in Puppet by Sirajul
• 59,230 points
363 views