Trending questions in Edureka Community

0 votes
1 answer

How to disable a method in a ViewSet, django-rest-framework

Hello @kartik, You could keep using viewsets.ModelViewSet and define http_method_names on your ...READ MORE

Jun 26, 2020 in Python by Niroj
• 82,840 points
11,206 views
0 votes
1 answer

How foreach change original array values in php?

Hello @kartik, Do the following: foreach ($fields as $key ...READ MORE

Aug 14, 2020 in PHP by Niroj
• 82,840 points
9,053 views
0 votes
1 answer

Creating an empty Pandas DataFrame, then filling it?

Here's a couple of suggestions: Use date_range for the index: import ...READ MORE

Jan 5, 2021 in Python by Gitika
• 65,770 points
2,831 views
0 votes
1 answer

How to invoke a function on an object dynamically by name?

Use "getattr":  obj = MyClass() try: ...READ MORE

Dec 3, 2020 in Python by Gitika
• 65,770 points
4,241 views
0 votes
1 answer

How to check if memcache or memcached is installed for PHP?

Hii, You can look at phpinfo() or check ...READ MORE

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

How to make auto login after registration in laravel?

Hello, You can try to login the user ...READ MORE

Nov 2, 2020 in Laravel by Niroj
• 82,840 points
5,599 views
0 votes
1 answer

How can I explode and trim whitespace?

Hello @kartik, You can do the following using array_map: $new_arr ...READ MORE

Oct 1, 2020 in PHP by Niroj
• 82,840 points
6,957 views
0 votes
2 answers

What are the different types of cloud?

There are generally three main types of ...READ MORE

Jun 16, 2023 in Cloud Computing by Khan Sarfaraz
• 700 points
3,093 views
0 votes
1 answer

Pandas df header on 2 row

By default when you import a file, ...READ MORE

Apr 4, 2019 in Python by Yogi
30,565 views
0 votes
1 answer

How to check whether property exists in object or class in php?

Hello @kartik, Using  property_exists( mixed $class , string $property ...READ MORE

Oct 1, 2020 in PHP by Niroj
• 82,840 points
6,943 views
0 votes
1 answer

Error:Trying to get property of non-object in C:\wamp\www\ni\pages\init.php..

Hello, Try mysql_fetch_object(). It returns an object, not an ...READ MORE

Nov 19, 2020 in PHP by Niroj
• 82,840 points
4,832 views
0 votes
0 answers

Hi Guys, I am trying to import matplotlib in my system. But it is showing me the below error.

import matplotlib Traceback (most recent call last):   File "<pyshell#0>", ...READ MORE

Mar 10, 2021 in Python by Dharmendra

edited Mar 4 67 views
0 votes
2 answers

How to transfer files to GCP VM from local system?

gcloud compute scp localpath vm_instance_name:instance/path READ MORE

Oct 27, 2020 in GCP by anonymous
6,507 views
0 votes
0 answers

Does Docker interactive mode run the command that are inside "CMD" inside DockerFile?

I cant find an answer about this ...READ MORE

Mar 11, 2021 in Docker by Al

edited Mar 4 58 views
0 votes
0 answers

Bayes theorem on Conditional probability problem solution

Problem Statement: Consider 3 bags. Bag A ...READ MORE

Mar 10, 2021 in Others by Edureka

edited Mar 4 91 views
0 votes
1 answer
0 votes
1 answer

How to set the ERC20 token price in respect to ether in solidity?

Hi, @Jas, I would suggest you go through ...READ MORE

Nov 9, 2020 in Blockchain by anonymous
• 10,480 points
5,301 views
0 votes
1 answer

Python Pandas error: AttributeError: 'DataFrame' object has no attribute 'make'

Hi@Bhavitha, I don't think pandas has a function ...READ MORE

May 1, 2020 by MD
• 95,460 points
13,564 views
0 votes
1 answer

How to Describe security groups with Boto3?

Hi@akhtar, An EC2 instance is a virtual server ...READ MORE

Oct 8, 2020 in AWS by MD
• 95,460 points
6,609 views
0 votes
0 answers

I am facing this exception whenever I am trying to run the code in eclipse for selenium. I have imported all the necessary jar files like guava jar files.

Exception in thread "main" java.lang.IllegalStateException: The driver ...READ MORE

Mar 10, 2021 in Selenium by Paromita

edited Mar 4 40 views
0 votes
0 answers

How schedule the start/stop a AppEngine Flex instance in Google Cloud

I need to reduce cost in AppEngine ...READ MORE

Mar 10, 2021 in Cloud Computing by menafrancisco

edited Mar 4 63 views
0 votes
1 answer

How can I return HTTP status code 204 from a Django view?

Hello, Try this: return HttpResponse(status=204) Hope it works!! ...READ MORE

Aug 17, 2020 in Python by Niroj
• 82,840 points
8,850 views
0 votes
1 answer

How to set a default attribute value for a Laravel / Eloquent model?

Hello @kartik, This is what I'm doing now: protected ...READ MORE

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

How MySQL date format DD/MM/YYYY select query?

Hello @kartik, You can use STR_TO_DATE() to convert your strings ...READ MORE

Aug 26, 2020 in PHP by Niroj
• 82,840 points
8,439 views
0 votes
1 answer

How to remove Parameter From All Request Objects at Controller Level?

Hello @kartik, First arrange for the middleware to ...READ MORE

Oct 21, 2020 in Laravel by Niroj
• 82,840 points
6,055 views
0 votes
0 answers
0 votes
0 answers

Count rows for calculated measure

Hi, I have a sample data table ...READ MORE

Mar 9, 2021 in Power BI by Manjunath

edited Mar 4 62 views
0 votes
1 answer

Laravel Eloquent Query Builder Default Where Condition

Hello, normally override newQuery() for this. newQuery() is the method that Eloquent ...READ MORE

Dec 3, 2020 in Laravel by Niroj
• 82,840 points
4,156 views
0 votes
1 answer

Running shell command and capturing the output

Modern versions of Python (3.5 or higher): run If ...READ MORE

Dec 28, 2020 in Python by Gitika
• 65,770 points
3,068 views
0 votes
1 answer

Error like “Your CPU not supported AVX , AVX2”

Cpu avx2 nahi hai kiya kare READ MORE

May 31, 2021 in Python by anonymous

edited Mar 5 1,331 views
0 votes
1 answer

How to install eksctl command in Windows?

Hi@akhtar, You can use the below-given steps to ...READ MORE

Jul 5, 2020 in AWS by MD
• 95,460 points
10,666 views
0 votes
1 answer

ValueError: Unknown label type: (array([ 7.5, 9.2, 9.2, ..., 5.8, 10. , 9.6]),)

Hi, There is a problem with your steps. ...READ MORE

Dec 16, 2020 in Machine Learning by MD
• 95,460 points
3,597 views
0 votes
0 answers

delete Edureka account

Hello, I would like to delete my Edureka ...READ MORE

Mar 9, 2021 in Ask us Anything! by Liene

edited Mar 4 62 views
0 votes
0 answers

hdfs dfs -count -h hdfs://sandbox.hortonworks.com/demo/

I want to do the same with ...READ MORE

Mar 8, 2021 in Big Data Hadoop by 1 bihari

edited Mar 4 62 views
0 votes
1 answer

What is the difference between Jenkins and Maven?

Hi@akhtar, A maven is a build tool designed to manage ...READ MORE

Dec 8, 2020 in Jenkins by MD
• 95,460 points
3,911 views
0 votes
1 answer

How to remove all listeners in an element?

Hello @kartik, I think that the fastest way ...READ MORE

Oct 7, 2020 in Java-Script by Niroj
• 82,840 points
6,592 views
0 votes
1 answer

How throw forbidden exception from middleware in laravel5?

Hello @kartik, You can simply use the abort() helper. (Or App::abort()) public ...READ MORE

Oct 23, 2020 in Laravel by Niroj
• 82,840 points
5,895 views
+5 votes
7 answers

Docker swarm vs kubernetes

Swarm is easy handling while kn8 is ...READ MORE

Aug 27, 2018 in Docker by Mahesh Ajmeria
4,592 views
0 votes
0 answers

I m getting a error * name ch is not defined*

class Library:     def __init__(self):         self.bookname=""         self.author=""     def getdata(self):         self.bookname = input("Enter Name ...READ MORE

Mar 8, 2021 in Python by CYBER

edited Mar 4 86 views
0 votes
1 answer

How to Install a local module using npm?

Hello @kartik, This is what worked for me: npm ...READ MORE

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

How to remove a docker container using Ansible playbook?

Hi@akhtar, You can set the state=absent in your ...READ MORE

Sep 20, 2020 in Docker by MD
• 95,460 points
7,313 views
0 votes
0 answers

hdfs dfs -count -h /user/isdoc/tmcss/all_ttc_custome_list/*

I want to do the same with ...READ MORE

Mar 8, 2021 in Big Data Hadoop by 1 bihari

edited Mar 4 43 views
0 votes
0 answers

hdfs dfs -count -h /user/isdoc/tmcss/all_ttc_custome_list/*

I want to do the same with ...READ MORE

Mar 8, 2021 in Big Data Hadoop by 1 bihari

edited Mar 4 42 views
0 votes
1 answer

How to disable actions for an alarm in AWS?

Hi@akhtar, You can disable the actions for the specified ...READ MORE

Nov 18, 2020 in AWS by MD
• 95,460 points
4,764 views
0 votes
0 answers

ImproperlyConfigured: Error loading psycopg2 module: No module named psycopg2

I'm using docker-compose on Ubuntu 20.04. I ...READ MORE

Mar 8, 2021 in Python by Sadaf

edited Mar 4 69 views
0 votes
0 answers

how can i get ssh password to root user after connecting master with slave in ansible

[root@ip-172-31-35-200 ~]# ansible 172.31.40.66 -m yum -a ...READ MORE

Mar 8, 2021 in DevOps & Agile by yuvakishore

edited Mar 4 62 views
0 votes
1 answer

How to access PHP session variables from jQuery function in a .js file?

Hello, You can produce the javascript file via ...READ MORE

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

Format HDFS Namenode Error: Could not find or load main class ”-Djava.library.path=.home.hadoop.hadoop-3.2.1.lib.native”

Hi@fwood, According to your configuration, you didn't set ...READ MORE

Jun 12, 2020 in Big Data Hadoop by MD
• 95,460 points
11,613 views
0 votes
1 answer

Found input variables with inconsistent numbers of samples: [30, 120]

Hi@Kinjal, There is a problem with your X ...READ MORE

Dec 21, 2020 in Machine Learning by MD
• 95,460 points
3,299 views