Request a Call Back

Home > Community

Suggested Questions

How to find index of element in..
Posted 2021-06-14 by iCert Global.
How to download s3 bucket folder?..
Posted 2020-03-16 by iCert Global.
Python AWS Boto3 How do i read..
Posted 2020-03-12 by iCert Global.
How to filter out na in R..
Posted 2020-02-22 by iCert Global.
How to find all the classes of..
Posted 2023-08-11 by iCert Global.
Copying files from host to Docker container..
Posted 2023-08-11 by iCert Global.
how to exit a python script in..
Posted 2022-11-16 by iCert Global.
How to import a jar file in..
Posted 2022-11-16 by iCert Global.

Trending questions in iCert Global Community


Trending   Latest   Most Votes   Most Answers   Most Views    Filters



How to use not equal operator in python

How would you say does not equal?

Like

if hi == hi: print "hi"  elif hi (does not equal) bye:      print "no hi"

Is there something equivalent to == that means "not equal"?


2023-12-15 in Python by Roshan | 376,063 Views

PHP  Python  Web Development


Copying files from host to Docker container

I am in the process of developing a backup and restore solution for Docker containers. Could you please advise on how to transfer files from the host system to the container?
Thank you for your assistance.

2023-08-11 in Devops by Namrata | 353,421 Views

PHP  Python  Web Development


How to find all the classes of a package in Java

I am seeking guidance on how to identify all the classes within specific packages for my project. What would be the most effective method to accomplish this?

2023-08-11 in Devops by Gulsham | 348,674 Views

PHP  Python  Web Development


How to import a jar file in Eclipse

I am working on Eclipse IDE. How can I import jar file in Eclipse?

2022-11-16 in JAVA by Fransis | 376,173 Views

PHP  Python  Web Development


how to exit a python script in an if statement

I am currently utilizing Python 3.2 and seeking a method to terminate the program after the user indicates they do not wish to continue. Is there a way to implement an exit command within an if statement inside a while loop? I have already attempted using exit(), sys.exit(), sys.quit(), quit(), and raise SystemExit.

2022-11-16 in JAVA by Lokesh | 76,173 Views

PHP  Python  Web Development


javac is not recognized as an internal or external command operable program or batch file

Initially, you must access your host operating system and modify the docker.service file to permit TCP requests for Docker.

This configuration allows any operating system within your network, including other containers linked to the host, to execute Docker commands.

C:\Users\Ivy>cd \  C:\cd java files  C:\java files>set path=C:Program Files (x86)\Java\jdk1.7.0\bin  C:\java files>javac Hello.java  'javac' is not recognized as an internal or external command, operable program or batch file

2022-03-15 in JAVA by Shovik | 468,645 Views

PHP  Python  Web Development


How to find index of element in dataframe Python ?

Hi. I possess a pandas dataframe and I am seeking to identify the index of a specific entry within it.

Name Age
0 Mike 23
1 Eric 25
2 Donna 23
3 Will 23  

This is the dataframe. I want to find the index of Donna. How can I do it?


2021-06-14 in Python by Nicholas | 283,015 Views

PHP  Python  Web Development


What are the default xmx and xms values ?

Could someone clarify the function of the xms and xmx parameters? Additionally, what are the default values assigned to these parameters when the JVM starts up?

2021-05-15 in JAVA by Ammy | 454,754 Views

PHP  Python  Web Development


What is the process for running a 'docker exec' command within a Docker container?

you can run any command in a running container just knowing its ID (or name):

docker exec -it <container_id_or_name> echo "I'm inside the container!"

Note:The container needs to be running.

Join iCert Global Program now and take your career to the next level!


2021-03-15 in DevOps by Danny | 1,230,952 Views

PHP  Python  Web Development


Methods to resolve the ValueError invalid literal for int with base 10 in Python.

I am developing a program that processes a file by first checking if the initial line is not empty. If it contains content, the program proceeds to read the subsequent four lines. Calculations are then executed based on these lines before moving on to the next line. If this next line is also not empty, the program continues its operation. However, I am encountering the following error:

ValueError: invalid literal for int() with base 10: ''.` 

It is reading the first line but can't convert it to an integer.

What can I do to fix this problem?

 


2021-03-15 in Python by Johnson | 440,356 Views

PHP  Python  Web Development


UnicodeDecodeError utf-8 codec cannot decode byte 0x87 in position 10 invalid start byte

I am unable to import this file it showing an error :

import pandas as pd  a = pd.read_csv("xyz.csv")

2020-08-12 in Python by Zahir | 319,591 Views

PHP  Python  Web Development


How to download s3 bucket folder?

I want to download a folder from AWS S3. Please suggest me a method for it.

2020-03-16 in AWS by Peter | 253,521 Views

PHP  Python  Web Development


Python AWS Boto3 How do i read files from S3 Bucket

Utilizing Boto3, the Python script retrieves files from an S3 bucket, allowing it to read the contents and subsequently write them to a file named blank_file.txt.

My inquiry is regarding how this process would function similarly when the script is executed within an AWS Lambda function.

2020-03-12 in AWS by shunil | 311,523 Views

PHP  Python  Web Development


How to filter out na in R language

Below is the code:

library(tidyverse)  df <- tibble(      ~col1, ~col2, ~col3,      1, 2, 3,       1, NA, 3,       NA, 2, 3  )

I can remove all NA abservations with the help of drop_na():

df %>% drop_na()

Or remove all NA in a single column (col1 for example):

df %>% drop_na(col1)

Why I cannot just use a regular != filter pipe ?

df %>% filter(col1 != NA)

Why do we use a special function from tidyr to remove NAs?


2020-02-22 in Python by Rakesh | 332,485 Views

PHP  Python  Web Development


Python error IndentationError expected an indented block

def example(p,q): 
a = p.find(" ")
b = q.find(" ")
str_p = p[0:a]
str_q = p[b+1:]
if str_p == str_q:
result = True else:
result = False
return result

And I get the folloeing error:

IndentationError: expected an indented block

2020-02-22 in Python by Babita | 312,421 Views

PHP  Python  Web Development


Disclaimer

  • "PMI®", "PMBOK®", "PMP®", "CAPM®" and "PMI-ACP®" are registered marks of the Project Management Institute, Inc.
  • "CSM", "CST" are Registered Trade Marks of The Scrum Alliance, USA.
  • COBIT® is a trademark of ISACA® registered in the United States and other countries.
  • CBAP® and IIBA® are registered trademarks of International Institute of Business Analysis™.

We Accept

We Accept

Follow Us

iCertGlobal facebook icon
iCertGlobal twitter
iCertGlobal linkedin

iCertGlobal Instagram
iCertGlobal twitter
iCertGlobal Youtube

Quick Enquiry Form

watsapp WhatsApp Us  /      +1 (713)-287-1187