Trending questions in Edureka Community

0 votes
1 answer

IndentationError: expected an indented block

Hi, @Baker, Putting in extra space or leaving ...READ MORE

Oct 19, 2020 in Python by Gitika
• 65,770 points
1,386 views
0 votes
1 answer

How to add properties while installing GOTO?

You can follow a few steps: click advanced ...READ MORE

Nov 6, 2020 in Python by Gitika
• 65,770 points
548 views
0 votes
1 answer

How to create an interface composed of other interfaces?

Hello, You are looking for the extends keyword: Interface IFoo extends ...READ MORE

Nov 5, 2020 in PHP by Niroj
• 82,840 points
600 views
0 votes
1 answer

How to use MongoDB with promises in Node.js?

Hello @kartik, Try this: var MongoClient = require('mongodb').MongoClient var url ...READ MORE

Oct 12, 2020 in Node-js by Niroj
• 82,840 points
1,660 views
0 votes
1 answer

How to copy a snapshot in AWS from the command line?

Hi@akhtar, The following copy-snapshot example command copies the specified snapshot ...READ MORE

Oct 20, 2020 in AWS by MD
• 95,460 points
1,279 views
0 votes
1 answer

How to run an Ansible Playbook to a particular node?

Hi@akhtar, You can control the playbook from the ...READ MORE

Sep 16, 2020 in Ansible by MD
• 95,460 points
2,745 views
0 votes
1 answer

Does Python have a ternary conditional operator?

Think of the conditional expression as switching ...READ MORE

Nov 2, 2020 in Python by Gitika
• 65,770 points
714 views
+1 vote
1 answer

Rest Services are synchronous and asynchronous api calls

"Synchronous" or "Asynchronous" is the behavior of the ...READ MORE

Sep 1, 2020 in Software Testing by UltraInstinct
3,388 views
0 votes
1 answer

Select sections of text from each line of files in a Bash shell.

Hi@akhtar, There is no inbuild command available for ...READ MORE

Oct 20, 2020 in Linux Administration by MD
• 95,460 points
1,307 views
0 votes
1 answer

How can I remove or replace SVG content?

Hello @kartik, Setting the id attribute when appending ...READ MORE

Jun 18, 2020 in Java-Script by Niroj
• 82,840 points
6,662 views
0 votes
1 answer

With docker compose, which parameter should I use to run a yaml file ?

Yep. Wrong command. $ docker-compose build And then run ...READ MORE

Oct 27, 2020 in Docker by Justin
970 views
0 votes
1 answer

How to split and modify a string in NodeJS?

Hello @kartik, Use split and map function: var str = "123, 124, 234,252"; var ...READ MORE

Oct 16, 2020 in Node-js by Niroj
• 82,840 points
1,448 views
0 votes
1 answer

How to use a single URL to access an application on 4 different containers in docker?

You need to decide which service will ...READ MORE

Oct 24, 2020 in Docker by anonymous
1,137 views
0 votes
1 answer

How to add Django script to access model objects without using manage.py shell?

Hello @kartik, Use the following and you will be ...READ MORE

Jun 29, 2020 in Python by Niroj
• 82,840 points
6,160 views
0 votes
1 answer

How to create a pie chart in R?

Hi@akhtar, In R the pie chart is created ...READ MORE

Oct 30, 2020 in Data Analytics by MD
• 95,460 points
874 views
0 votes
1 answer

What is selenium in python?

It is known as Web automations, It is ...READ MORE

Nov 4, 2020 in Python by Gitika
• 65,770 points
647 views
0 votes
1 answer

What do the Jenkins pipelines do?

A pipeline is a collection of jobs ...READ MORE

Oct 29, 2020 in Jenkins by Liam
889 views
0 votes
1 answer

How to create a barplot in R?

Hi@akhtar, A bar chart represents data in rectangular ...READ MORE

Oct 30, 2020 in Data Analytics by MD
• 95,460 points
868 views
0 votes
1 answer

Error:nvm is not compatible with the npm config "prefix" option:

Hello @kartik, After installing nvm using brew, create ~/.nvm directory: $ ...READ MORE

Jul 15, 2020 in Node-js by Niroj
• 82,840 points
5,450 views
0 votes
2 answers

Error saying " "hosts" E212: Can"t open file for writing" when trying to change host name on the VM

I am interested in the answer as ...READ MORE

Jan 26, 2019 in Docker by anonymous
29,443 views
0 votes
1 answer

How to return raw string with ApiController?

Hello @kartik, You could have your Web Api ...READ MORE

Jul 23, 2020 in Angular by Niroj
• 82,840 points
5,100 views
0 votes
1 answer

How to install R in Linux system?

Hi@akhtar, R is available as a binary for ...READ MORE

Oct 28, 2020 in Data Analytics by MD
• 95,460 points
922 views
0 votes
1 answer

How to create the Boxplot in R?

Hi@akhtar, Boxplots are a measure of how well ...READ MORE

Oct 30, 2020 in Data Analytics by MD
• 95,460 points
859 views
0 votes
1 answer

Ranger kms is not coming up

Hi@Shilpa, There may be lots of reasons behind ...READ MORE

Oct 19, 2020 in Big Data Hadoop by MD
• 95,460 points
1,329 views
0 votes
1 answer

How to Determine if page is valid in JavaScript - ASP.NET?

Hello @kartik,  Make the call on an input ...READ MORE

Sep 9, 2020 in Java-Script by Niroj
• 82,840 points
3,032 views
0 votes
1 answer

How to create an Array in R?

Hi@akhtar, The array function takes a dim attribute ...READ MORE

Oct 29, 2020 in Data Analytics by MD
• 95,460 points
876 views
0 votes
1 answer

Error:Composer Out of memory in Laravel?

Hey @kartik, This Error  happens in almost all ...READ MORE

Mar 30, 2020 in Laravel by Niroj
• 82,840 points
10,066 views
0 votes
1 answer

How to reload or re-render the entire page using AngularJS?

Hello @kartik< For the record, to force angular ...READ MORE

Jul 15, 2020 in Node-js by Niroj
• 82,840 points
5,445 views
0 votes
1 answer

How to Toggle Between Two Option and Make it Interact with the rest of the Visualizations in a Report?

Toggling is an action that is achieved ...READ MORE

Oct 20, 2020 in Power BI by anonymous
• 65,770 points
1,245 views
0 votes
2 answers

Code to change owner

Hi, @Wilson, U have to write the require ...READ MORE

Oct 5, 2020 in Blockchain by Rajiv
• 8,870 points
2,072 views
0 votes
1 answer

when I run this, I get NameError: name 'state' is not defined error. How to solve this?

Hi@MUHAMMAD, I tried to run the exact code ...READ MORE

Sep 8, 2020 in Python by MD
• 95,460 points
3,125 views
0 votes
1 answer

How to read an excel file in R?

Hi@akhtar, You can read your excel file by using the read.xlsx() function ...READ MORE

Oct 29, 2020 in Data Analytics by MD
• 95,460 points
860 views
0 votes
1 answer
0 votes
1 answer

I have arts degree van i get a job in programming

Hi, @Samarth,  There are several other parameters on ...READ MORE

Oct 27, 2020 in Career Counselling by Rajiv
• 8,870 points

edited Oct 27, 2020 by Gitika 971 views
0 votes
1 answer

How I can remove day and time from TimeStamp?

You can follow the below given: '{:%Y-%m}'.format(dt.strptime(str(key), '%Y-%m-%d ...READ MORE

Nov 4, 2020 in Python by Gitika
• 65,770 points
614 views
0 votes
1 answer

How to find the first field from a file in Bash Shell?

Hi@akhtar, You can extract text from a file. ...READ MORE

Oct 20, 2020 in Linux Administration by MD
• 95,460 points
1,266 views
0 votes
1 answer

How to reverse a string in Python using slicing operator?

Hi@akhtar, Strings can be reversed using slicing. To ...READ MORE

Aug 17, 2020 in Python by MD
• 95,460 points
4,028 views
0 votes
1 answer

Write playbook to apply condition date wise comparison

Hi, It depends on your use case. For ...READ MORE

Oct 21, 2020 in Ansible by MD
• 95,460 points
1,187 views
0 votes
1 answer

What should I learn first Front-end or Back-End Web development?

Hello, Short answer is No,you don't need to ...READ MORE

May 14, 2020 in Career Counselling by Niroj
• 82,840 points
8,098 views
+1 vote
1 answer

How to convert pyspark Dataframe to pandas Dataframe?

Hi@akhtar, To convert pyspark dataframe into pandas dataframe, ...READ MORE

May 7, 2020 in Apache Spark by MD
• 95,460 points
8,363 views
0 votes
1 answer

Invalid argument supplied for foreach() on line 25. Error in my php and mysql

Hello @viven , This should be a simple fix ...READ MORE

Aug 4, 2020 in PHP by Niroj
• 82,840 points
4,541 views
0 votes
1 answer

How to upload files in Hadoop Cluster?

Hi@akhtar, To upload a file in Hadoop Cluster, ...READ MORE

Sep 25, 2020 in Big Data Hadoop by MD
• 95,460 points
2,304 views
0 votes
1 answer

Setting up Hadoop Multi-node cluster on windows 10 systems

Hi@Hassan, You can do it windows system as ...READ MORE

Oct 1, 2020 in Big Data Hadoop by MD
• 95,460 points
2,056 views
0 votes
1 answer

Multiple rows to columns in hive

Hi, You need to create your own customize ...READ MORE

Sep 4, 2020 in Big Data Hadoop by MD
• 95,460 points
3,205 views
0 votes
1 answer

How to restore archived artifacts in jenkins?

Do you mean accessing the archived artifacts ...READ MORE

Oct 15, 2020 in Jenkins by Karan
• 19,610 points
1,430 views
0 votes
1 answer

Using Artisan::call() to pass non-option arguments

Hello @kartik, Use: Artisan::call('db:migrate', ['' => 'mymigration', '--table' => ...READ MORE

Sep 28, 2020 in Laravel by Niroj
• 82,840 points
2,193 views
0 votes
1 answer

How to create hive table without location?

Hi@akhtar, We can create a hive table for ...READ MORE

Oct 16, 2020 in Big Data Hadoop by MD
• 95,460 points
1,411 views
+1 vote
0 answers

How to run boto3 in Lambda Function

Hi, I have two boto3(python) script for creating ...READ MORE

Sep 30, 2020 in AWS by Lakshminarayanan
• 1,370 points
2,076 views
0 votes
1 answer

How to add annotate data in django-rest-framework queryset responses?

Hello @kartik, The queryset returned from get_queryset provides ...READ MORE

Jun 25, 2020 in Python by Niroj
• 82,840 points
6,264 views
0 votes
1 answer

Script for websphere app server restart based on user request.

Hi@Saurabh, You can use the service module to ...READ MORE

Oct 19, 2020 in Ansible by MD
• 95,460 points
1,253 views