Trending questions in Edureka Community

0 votes
1 answer

How to get LoadBalancer IP in Kubernetes using Terraform script?

Hi@akhtar, In your Terraform script, you can output ...READ MORE

Sep 28, 2020 in Terraform by MD
• 95,460 points
3,604 views
0 votes
1 answer

What is the output of the following code?

rror: expected class or object definition sc.parallelize(Array(1L,("SFO")),(2L,("ORD")),(3L,("DFW")))) ^ one error ...READ MORE

Nov 26, 2020 in Apache Spark by Gitika
• 65,770 points
1,052 views
0 votes
1 answer

How does a node.js process know when to stop?

Hello, node keeps track of all outstanding work ...READ MORE

Nov 30, 2020 in Node-js by Niroj
• 82,840 points
877 views
0 votes
1 answer

Unable to Connect to import or direct query reports

Check your cached data sources. Once in ...READ MORE

Nov 20, 2020 in Power BI by Gitika
• 65,770 points
1,308 views
0 votes
1 answer

How to create a Cluster Snapshot in AWS RedShift?

Hi@akhtar, You can create a manual snapshot of the ...READ MORE

Nov 27, 2020 in AWS by MD
• 95,460 points
1,005 views
0 votes
1 answer

I am trying to search for attach window activity in my community edition but could not find it. Please help.

In activities panel, type in only "attach" ...READ MORE

Nov 5, 2020 in RPA by Umesh
1,947 views
0 votes
1 answer

Difference between __str__ and __repr__?

The default implementation is useless (it’s hard ...READ MORE

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

How to create a URL in the controller .NET MVC?

Hello @kartik, If you just want to get ...READ MORE

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

org.apache.hadoop.mapreduce.lib.input.InvalidInputException: Input path does not exist: hdfs://localhost:54310/user/hduser/input.

Hi@akhtar, It seems you are providing the wrong ...READ MORE

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

How to delete a file or folder?

os.remove() removes a file. os.rmdir() removes an empty directory. shutil.rmtree() deletes a ...READ MORE

Dec 7, 2020 in Python by Gitika
• 65,770 points
555 views
0 votes
1 answer

How to center a popup window on screen?

Hello @kartik, Use this: function popupwindow(url, title, w, h) ...READ MORE

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

How do I specify unique constraint for multiple columns in MySQL?

Hello @kartik, Use this: ALTER TABLE `votes` ADD UNIQUE ...READ MORE

Aug 18, 2020 in PHP by Niroj
• 82,840 points
5,330 views
0 votes
1 answer

Check if a given key already exists in a dictionary?

in is the intended way to test for ...READ MORE

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

How to delete a Cluster Snapshot in AWS RedShift?

Hi@akhtar, You can delete the specified manual snapshot. The ...READ MORE

Nov 27, 2020 in AWS by MD
• 95,460 points
964 views
0 votes
1 answer

How do I get the last inserted ID of a MySQL table in PHP?

Hello @kartik, If you're using PDO, use PDO::lastInsertId. If you're ...READ MORE

Oct 22, 2020 in PHP by Niroj
• 82,840 points
2,497 views
0 votes
1 answer

How do I concatenate two lists in Python?

You can use the + operator to combine them: listone ...READ MORE

Dec 3, 2020 in Python by anonymous
• 65,770 points
682 views
0 votes
1 answer

I've been trying to run this code, but the error says "Expected an indented block" for the line, " word_as_list[index] = guess."

Hi, @Paradox, The error message IndentationError: expected an indented ...READ MORE

Nov 21, 2020 in Python by anonymous
• 65,770 points
1,233 views
0 votes
1 answer

How to validate the sudoers file before changing the file in Ansible?

Hi@akhtar, You can do this using lineinfile module ...READ MORE

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

How to find all occurrences of a substring?

There is no simple built-in string function ...READ MORE

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

How to create directory of current username in ruby on Linux server

Hi, The command whoami is used to know ...READ MORE

Nov 25, 2020 in Linux Administration by MD
• 95,460 points
1,027 views
0 votes
1 answer

How to create a Kubernetes cluster with a specific version?

Hi@akhtar, You can create a Kubernetes Cluster in ...READ MORE

Nov 17, 2020 in Azure by MD
• 95,460 points
1,398 views
0 votes
1 answer

Error:UnexpectedValueException: The Response content must be a string or object implementing __toString(), "object" given.

Hii, You can simply use: $new_collection = $collection->merge($other_collection). Hope it ...READ MORE

Nov 12, 2020 in Laravel by Niroj
• 82,840 points
1,588 views
0 votes
1 answer

How to change url after success in ajax without page reload?

Hello @kartik, Use the browser history to change ...READ MORE

Apr 29, 2020 in Java-Script by Niroj
• 82,840 points
10,086 views
0 votes
1 answer

How to launch an emulators from Flutter?

Hi@akhtar, Before launching emulators you should check if ...READ MORE

Jul 20, 2020 in Others by MD
• 95,460 points
6,543 views
0 votes
1 answer

How to get information about differences for a commit specifier in a repository in AWS CodeCommit?

Hi@akhtar, You can get information about the differences ...READ MORE

Nov 24, 2020 in AWS by MD
• 95,460 points
1,086 views
0 votes
1 answer

Installing specific package versions with pip

TL;DR: pip install -Iv (i.e. pip install -Iv MySQL_python==1.2.2) First, I ...READ MORE

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

How to unzip a file with php?

Hello @kartik. PHP has built-in extensions for dealing ...READ MORE

Sep 29, 2020 in Laravel by Niroj
• 82,840 points
3,468 views
0 votes
1 answer

How to delete an IAM user using AWS CLI?

Hi@akhtar, You can delete the specified IAM user. ...READ MORE

Nov 3, 2020 in AWS by MD
• 95,460 points
1,956 views
0 votes
1 answer

How to install Azure CLI on macOS?

Hi@akhtar, For the macOS platform, you can install ...READ MORE

Nov 13, 2020 in Azure by MD
• 95,460 points
1,535 views
0 votes
1 answer

Error:UnicodeDecodeError when reading CSV file in Pandas with Python

Hello @kartik, Try this: import pandas as pd df = ...READ MORE

Jun 15, 2020 in Python by Niroj
• 82,840 points
8,056 views
0 votes
1 answer

How to know if an object has an attribute in Python?

Try hasattr(): if hasattr(a, 'property'): a.property The ...READ MORE

Dec 2, 2020 in Python by Gitika
• 65,770 points
696 views
0 votes
1 answer

What is the linux command to find Memory and CPU usage in percent for last 30 days?

Try the following: Cat proc/meminfo top top -i less /proc/memin ...READ MORE

Oct 14, 2020 in Linux Administration by Kim
2,814 views
0 votes
1 answer

Latest Microsoft AZ-304 Dumps for Exams Revision Guaranteed

Hi, @pamega, Thanks for the info. READ MORE

Nov 30, 2020 in Others by Gitika
• 65,770 points
833 views
+2 votes
2 answers

How to read data in Robot framework from excel file.

You can try run "py –m pip ...READ MORE

May 19, 2020 in Software Testing by anonymous
9,365 views
0 votes
1 answer

How to compare two string with some characters only in python?

You could use in to check if a string ...READ MORE

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

How to add metadata tags to an AWS DMS resource?

Hi@akhtar, You can add metadata tags to an AWS ...READ MORE

Nov 26, 2020 in AWS by MD
• 95,460 points
943 views
0 votes
1 answer

How to check the name of the hadoop server?

Hi@akhtar, If you're running a pseudo-distributed setup, you ...READ MORE

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

How to create a Cluster Subnet Group in AWS RedShift?

Hi@akhtar, You can create a new Amazon Redshift subnet ...READ MORE

Nov 27, 2020 in AWS by MD
• 95,460 points
912 views
0 votes
1 answer

How to read an excel file (name User defined) from a path using python?

Hi @There, As the path is fixed, use ...READ MORE

Aug 13, 2020 in Python by Gitika
• 65,770 points
5,501 views
0 votes
1 answer

Laravel 5.1 date_format validation allow two formats

Hello @kartik, The date_format validator takes only one date format ...READ MORE

Sep 30, 2020 in Laravel by Niroj
• 82,840 points
3,410 views
+1 vote
1 answer

Publishing SNS Message with Customized subject

Hello @ srinivas, Amazon SNS allows users to specify ...READ MORE

Aug 3, 2020 in AWS by Niroj
• 82,840 points
5,937 views
0 votes
1 answer

Unable to find the chromedriver executable

Please download the server from http://code.google.com/p/chromedriver/downloads/list and place it ...READ MORE

Nov 27, 2020 in Selenium by Gitika
• 65,770 points
892 views
0 votes
1 answer

AttributeError: 'NoneType' object has no attribute 'find'

Hi@akhtar, It seems Sklearn is not installed properly ...READ MORE

Jun 23, 2020 in Python by MD
• 95,460 points
7,706 views
0 votes
1 answer

Error: 'logs/gunicorn-error.log' isn't writable [FileNotFoundError(2, 'No such file or directory')

Hi@akhtar, Before trying with a docker container, I ...READ MORE

Aug 24, 2020 in Docker by MD
• 95,460 points
4,996 views
0 votes
1 answer

Error: listen EADDRINUSE while using nodejs?

Hello @kartik, EADDRINUSE means that the port number which listen() tries ...READ MORE

Jul 9, 2020 in Node-js by Niroj
• 82,840 points
6,981 views
0 votes
1 answer

How do I escape a single quote in SQL Server?

Hello @kartik, Single quotes are escaped by doubling ...READ MORE

Jul 21, 2020 in PHP by Niroj
• 82,840 points
6,467 views
0 votes
0 answers

my 501(c)3 Hope Research

first under the subway back home, My ...READ MORE

Dec 4, 2020 in Ask us Anything! by Robert
• 120 points
637 views
+1 vote
1 answer

When to use Hadoop, HBase, Hive and Pig?

MapReduce is just a computing framework. HBase has ...READ MORE

Nov 20, 2020 in Big Data Hadoop by Gitika
• 65,770 points
1,144 views
0 votes
1 answer

i cannot add chromedriver to my path on mac.what should i do? can you tell me full procedure? i am new to selenium.

Hello @Divya, You can refer this regarding your ...READ MORE

Nov 25, 2020 in Selenium by Niroj
• 82,840 points
989 views
0 votes
1 answer

How can I list txt files into the folder?

Hello @Mziko You can refer this:https://datatofish.com/txt-files-d ...READ MORE

Nov 26, 2020 in Python by Niroj
• 82,840 points
940 views