Most viewed questions in Edureka Community

0 votes
3 answers

Filtering a row in Spark DataFrame based on matching values from a list

Use the function as following: var notFollowingList=List(9.8,7,6,3,1) df.filter(col("uid").isin(notFollowingList:_*)) You can ...READ MORE

Jun 6, 2018 in Apache Spark by Shubham
• 13,490 points
91,886 views
+4 votes
4 answers

Using while loop i want to print 10 even numbers

Hello @Nitesh, you are pretty much there. ...READ MORE

Nov 22, 2018 in Java by Priyaj
• 58,090 points
90,202 views
+2 votes
3 answers

mvn not recognized as an internal or external command error

Setting the environment variables JAVA_HOME, MAVEN_HOME and  ...READ MORE

Jun 3, 2019 in DevOps Tools by Sirajul
• 59,230 points
90,144 views
0 votes
3 answers

How to close active/current tab without closing the browser in Selenium-Python?

While doing stuff with selenium multiple browsers ...READ MORE

Dec 14, 2020 in Selenium by Roshni
• 10,520 points
89,799 views
+1 vote
4 answers

Error: selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH

You can also handle this error with ...READ MORE

Nov 27, 2018 in Selenium by Srujan

edited Aug 4, 2023 by Khan Sarfaraz 89,644 views
+2 votes
1 answer

Show a list of all variables in R

Hi Swathi, You can use ls() to list ...READ MORE

Jun 27, 2019 in Data Analytics by Cherukuri
• 33,030 points
87,463 views
+5 votes
2 answers

How to assign a groovy variable to a shell variable?

I have tried the following in my ...READ MORE

Dec 4, 2019 in Jenkins by Raveendiran
• 980 points
87,416 views
+2 votes
14 answers

How to create new column with function in Spark Dataframe?

val coder: (Int => String) = v ...READ MORE

Apr 5, 2019 in Apache Spark by anonymous

edited Apr 5, 2019 by Omkar 87,415 views
0 votes
1 answer

Error: Failed to load resource: the server responded with a status of 404 (Not Found)

Your files are not under the JSP folder that's ...READ MORE

Dec 16, 2020 in Web Development by Gitika
• 65,910 points
86,988 views
+2 votes
5 answers

Printing a data.frame without index - Python

.tolist() function will remove index READ MORE

Mar 11, 2019 in Data Analytics by nishant thakur
86,819 views
+1 vote
3 answers

Filtering R data-frame with multiple conditions

You can use the 'filter' function from ...READ MORE

Mar 26, 2018 in Data Analytics by Bharani
• 4,660 points
86,462 views
0 votes
3 answers

How do I find the location of my Python site-packages directory?

Configuring Python to use additional locations for ...READ MORE

Dec 28, 2020 in Python by Nikita
86,056 views
+1 vote
4 answers

How to install tkinter in pycharm?

Ya, this is a problem with installing ...READ MORE

Apr 4, 2019 in Python by Jishan
84,917 views
0 votes
3 answers

Python Pandas: ValueError: DataFrame constructor not properly called!

The syntax is not right. The right ...READ MORE

Mar 28, 2019 in Python by Ritu
84,636 views
0 votes
3 answers

Pandas - FillNa with another column

You could do df.Cat1 = np.where(df.Cat1.isnull(), df.Cat2, df.Cat1 ...READ MORE

Dec 15, 2020 in Python by Roshni
• 10,520 points
83,142 views
+1 vote
1 answer

remote side unexpectedly closed network connection.

Hi@akhtar, A PuTTY session left idle will disconnect ...READ MORE

Aug 27, 2020 in AWS by MD
• 95,440 points

edited Jul 10, 2023 by Khan Sarfaraz 82,221 views
+1 vote
5 answers

Getting this error: “Element is not clickable at point”

There are 3 possible solutions for this: 1. ...READ MORE

Apr 21, 2018 in Selenium by king_kenny
• 3,710 points
82,165 views
0 votes
2 answers

Error:Laravel Installation failed, reverting ./composer.json to its original content.?

Hello, You need to install php zip extension. Something ...READ MORE

Mar 26, 2020 in Laravel by Niroj
• 82,880 points
81,996 views
0 votes
3 answers

How to print text from a list of all web elements with same class name in Selenium?

Try using List <WebElement> to access all similar elements ...READ MORE

Dec 16, 2020 in Selenium by Roshni
• 10,520 points
81,584 views
0 votes
1 answer

Pandas: Print rows if value greater than some value

You can use condition checking for this. ...READ MORE

May 9, 2019 in Python by Reshma
81,023 views
+5 votes
4 answers

How to execute a python file with few arguments in java?

You can use Java Runtime.exec() to run python script, ...READ MORE

Mar 27, 2018 in Java by DragonLord999
• 8,450 points

edited Nov 7, 2018 by Omkar 79,310 views
0 votes
3 answers

TypeError: unsupported operand type(s) for -: 'str' and 'str'

& is "bitwise and" operand in Python, you ...READ MORE

Dec 11, 2020 in Python by Rajiv
• 8,910 points
79,301 views
0 votes
1 answer

TypeError: cannot unpack non-iterable NoneType object

Hello, The “TypeError: cannot unpack non-iterable NoneType object” ...READ MORE

Oct 5, 2020 in Python by Lisa
79,199 views
0 votes
1 answer

What does "collect2: error: ld returned 1 exit status" mean?

 The ld returned 1 exit status error ...READ MORE

Feb 22, 2022 in Others by Aditya
• 7,680 points
78,219 views
0 votes
4 answers

How to print objects of class using print function in Python?

>>> class Test: ... ...READ MORE

Dec 16, 2020 in Python by Roshni
• 10,520 points
77,450 views
+4 votes
3 answers

How to sum a variable by group in R?

You can also try this way, x_new = ...READ MORE

Aug 1, 2019 in Data Analytics by Cherukuri
• 33,030 points
77,237 views
0 votes
3 answers

How to add an extra column to the existing table in power bi query editor?

Click on edit queries after loading source ...READ MORE

Dec 16, 2020 in Power BI by Roshni
• 10,520 points
76,827 views
+2 votes
3 answers

ModuleNotFoundError: No module named 'Crypto'

The module you’ve installed is different. To install ...READ MORE

Aug 20, 2019 in Python by Raman
76,812 views
0 votes
3 answers

Setting JAVA_HOME in linux

Hello fellow techies, Assuming you use bash shell ...READ MORE

Dec 10, 2020 in Linux Administration by Rajiv
• 8,910 points
76,507 views
0 votes
4 answers

How to setup Chrome driver with Selenium on MacOS?

Hi Nushrat, In MacOs follow the steps and ...READ MORE

Aug 9, 2020 in Selenium by Shipra
76,040 views
+1 vote
3 answers

How to auto build a job in jenkins if there is any change in code on Github repository?

To automatically run build on code commit, follow ...READ MORE

Jul 31, 2019 in Jenkins by Sirajul
• 59,230 points
75,757 views
+1 vote
6 answers

groupByKey vs reduceByKey in Apache Spark.

ReduceByKey is the best for production. READ MORE

Mar 3, 2019 in Apache Spark by anonymous
75,637 views
0 votes
2 answers

How do I make python wait for a pressed key?

Then use this code: import keyboard keyboard.sleep() READ MORE

Jan 4, 2021 in Python by Reshma
75,136 views
0 votes
6 answers

How to get text found between span – selenium

The text "Search Zone" is not part ...READ MORE

Feb 28, 2019 in Selenium by Trying to Figure
74,811 views
+1 vote
2 answers

Which function can I use to clear the console in R and RStudio ?

Description                   Windows & Linux           Mac Clear console                      Ctrl+L ...READ MORE

Apr 17, 2018 in Data Analytics by anonymous
74,159 views
+1 vote
8 answers

How to replace null values in Spark DataFrame?

Hi, In Spark, fill() function of DataFrameNaFunctions class is used to replace ...READ MORE

Dec 15, 2020 in Apache Spark by MD
• 95,440 points
74,053 views
0 votes
1 answer

how to find host name from IP with out login to the host

To find host name from IP you ...READ MORE

Feb 20, 2022 in Cyber Security & Ethical Hacking by Edureka
• 12,690 points
73,832 views
+1 vote
12 answers

Hibernate hbm2ddl.auto possible values and their uses

hibernate.hbm2ddl.auto (e.g. none (default value), create-only, drop, create, create-drop, validate, and update) Setting to perform SchemaManagementTool actions automatically as ...READ MORE

Dec 7, 2018 in Java by Shuvodip
73,244 views
0 votes
1 answer

How to find an element in Pandas Dataframe?

You can do it like this: Suppose df is ...READ MORE

Apr 8, 2019 in Python by Tina
72,778 views
0 votes
4 answers

Selenium Exception error -Element is not clickable at point (x, y). Other element would receive the click

If waitings for element, sleeps and oher ...READ MORE

Dec 13, 2019 in Selenium by Douglas
72,594 views
0 votes
2 answers

Is it possible to save python dictionary into json files?

You can save the Python dictionary into ...READ MORE

Mar 17, 2020 in Python by Vishal
• 180 points
71,557 views
+5 votes
11 answers

Concatenate columns in apache spark dataframe

its late but this how you can ...READ MORE

Mar 21, 2019 in Apache Spark by anonymous
71,212 views
0 votes
3 answers

How to get full path of selected file on change of <input type=‘file’> using javascript, jquery-ajax?

You have to download the file with ...READ MORE

Nov 29, 2022 in Java-Script by Wilson S.S
71,000 views
0 votes
5 answers

What is the HDFS command to list all the files in HDFS according to the timestamp?

You can try filter using value in ...READ MORE

Dec 7, 2018 in Big Data Hadoop by Lenny
70,845 views
+1 vote
5 answers

How to get user's IP address in Laravel?

Hey, We can get the user's IP address ...READ MORE

Mar 20, 2020 in Laravel by Niroj
• 82,880 points
70,790 views
0 votes
0 answers

http://localhost/phpMyAdmin/ unable to connect

I tried to start phpMyAdmin from my ...READ MORE

May 27, 2022 in PHP by Kichu
• 19,050 points
70,718 views
0 votes
5 answers

How can I use grep in Python?

The first part starts with grep , followed by ...READ MORE

Dec 14, 2020 in Python by Gitika
• 65,910 points
70,511 views
0 votes
3 answers

How to load external scripts dynamically in Angular?

Hello kartik, You can use following technique to ...READ MORE

Apr 22, 2020 in Angular by Niroj
• 82,880 points
70,032 views
+1 vote
2 answers

How to convert entire div data into image and save it into directory without using canvas?

Hello @kartik, You can try the sample code ...READ MORE

Apr 29, 2020 in Java-Script by Niroj
• 82,880 points
69,958 views
0 votes
4 answers

How to combine multiple tables in power BI?

Click Advanced Editor and check if step #"Appended ...READ MORE

Dec 16, 2020 in Power BI by Roshni
• 10,520 points
69,319 views