Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In
Continue with Google
or use

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here
Continue with Google
or use

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have permission to ask a question, You must login to ask a question.

Continue with Google
or use

Forgot Password?

Need An Account, Sign Up Here

Sorry, you do not have permission to ask a question, You must login to ask a question.

Continue with Google
or use

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

Answerclub

Answerclub Logo Answerclub Logo

Answerclub Navigation

  • Home
  • About Us
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask A Question
  • Home
  • About Us
  • Contact Us

Welcome to Answerclub.org

Questions | Answers | Discussions | Knowledge sharing | Communities & more.

Ask A Question
Home/ Aryan Prajapat/Answers
Ask Aryan Prajapat
  • About
  • Questions
  • Polls
  • Answers
  • Best Answers
  • Followed
  • Favorites
  • Asked Questions
  • Groups
  • Joined Groups
  • Managed Groups
  1. Asked: July 20, 2024In: Education

    Write a program in Python to check if a sequence is a Palindrome.

    Aryan Prajapat
    Aryan Prajapat Knowledge Contributor
    Added an answer on July 20, 2024 at 11:39 am

    a=input("enter sequence") b=a[::-1] if a==b: print("palindrome") else: print("Not a Palindrome")

    a=input(“enter sequence”)
    b=a[::-1]
    if a==b:
    print(“palindrome”)
    else:
    print(“Not a Palindrome”)

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  2. Asked: July 20, 2024In: Education

    Write a sorting algorithm for a numerical dataset in Python.

    Aryan Prajapat
    Aryan Prajapat Knowledge Contributor
    Added an answer on July 20, 2024 at 11:39 am

    list = ["1", "4", "0", "6", "9"] list = [int(i) for i in list] list.sort() print (list)

    list = [“1”, “4”, “0”, “6”, “9”]
    list = [int(i) for i in list]
    list.sort()
    print (list)

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  3. Asked: July 20, 2024In: Education

    Write a program in Python to produce Star triangle.

    Aryan Prajapat
    Aryan Prajapat Knowledge Contributor
    Added an answer on July 20, 2024 at 11:36 am

    def pyfunc(r): for x in range(r): print(' '*(r-x-1)+'*'*(2*x+1)) pyfunc(9)

    def pyfunc(r):
    for x in range(r):
    print(‘ ‘*(r-x-1)+’*’*(2*x+1))
    pyfunc(9)

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  4. Asked: July 20, 2024In: Education

    Write a program in Python to check if a number is prime.

    Aryan Prajapat
    Aryan Prajapat Knowledge Contributor
    Added an answer on July 20, 2024 at 11:36 am

    a=int(input("enter number")) if a=1: for x in range(2,a): if(a%x)==0: print("not prime") break else: print("Prime") else: print("not prime")

    a=int(input(“enter number”))
    if a=1:
    for x in range(2,a):
    if(a%x)==0:
    print(“not prime”)
    break
    else:
    print(“Prime”)
    else:
    print(“not prime”)

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  5. Asked: July 20, 2024In: Education

    How to delete row and column from a dataframe in Pandas?

    Aryan Prajapat
    Aryan Prajapat Knowledge Contributor
    Added an answer on July 20, 2024 at 11:35 am

    A Pandas dataframe is a two dimensional data structure which allows you to store data in rows and columns. To drop a row or column in a dataframe, you need to use the drop() method available in the dataframe. Syntax: DataFrame.drop(labels=None, axis=0, index=None, columns=None, level=None, inplace=FRead more

    A Pandas dataframe is a two dimensional data structure which allows you to store data in rows and columns. To drop a row or column in a dataframe, you need to use the drop() method available in the dataframe.

    Syntax: DataFrame.drop(labels=None, axis=0, index=None, columns=None, level=None, inplace=False, errors=’raise’)

    Parameters:

    labels: String or list of strings referring row or column name.

    axis: int or string value, 0 ‘index’ for Rows and 1 ‘columns’ for Columns.

    index or columns: Single label or list. index or columns are an alternative to axis and cannot be used together. level: Used to specify level in case data frame is having multiple level index.

    inplace: Makes changes in original Data Frame if True.

    errors: Ignores error if any value from the list doesn’t exists and drops rest of the values when errors = ‘ignore’

    Return type: Dataframe with dropped values.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  6. Asked: July 20, 2024In: Education

    How to get items of series A that are not available in another series B?

    Aryan Prajapat
    Aryan Prajapat Knowledge Contributor
    Added an answer on July 20, 2024 at 11:33 am

    import pandas as pd # Creating 2 pandas Series ps1 = pd.Series([2, 4, 8, 20, 10, 47, 99]) ps2 = pd.Series([1, 3, 6, 4, 10, 99, 50]) print("Series 1:") print(ps1) print("nSeries 2:") print(ps2) # Using Bitwise NOT operator along # with pandas.isin() print("nItems of Series 1 not present in Series 2:"Read more

    import pandas as pd

    # Creating 2 pandas Series
    ps1 = pd.Series([2, 4, 8, 20, 10, 47, 99])
    ps2 = pd.Series([1, 3, 6, 4, 10, 99, 50])

    print(“Series 1:”)
    print(ps1)
    print(“nSeries 2:”)
    print(ps2)

    # Using Bitwise NOT operator along
    # with pandas.isin()
    print(“nItems of Series 1 not present in Series 2:”)
    res = ps1[~ps1.isin(ps2)]
    print(res)

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  7. Asked: July 20, 2024In: Education

    Write a program in Python to execute the Bubble sort algorithm.

    Aryan Prajapat
    Aryan Prajapat Knowledge Contributor
    Added an answer on July 20, 2024 at 11:31 am

    def bs(a): # a = name of list b=len(a)-1nbsp; # minus 1 because we always compare 2 adjacent values for x in range(b): for y in range(b-x): a[y]=a[y+1] a=[32,5,3,6,7,54,87] bs(a)

    def bs(a):
    # a = name of list
    b=len(a)-1nbsp;
    # minus 1 because we always compare 2 adjacent values
    for x in range(b):
    for y in range(b-x):
    a[y]=a[y+1]

    a=[32,5,3,6,7,54,87]
    bs(a)

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  8. Asked: July 20, 2024In: Education

    What is reindexing in Pandas?

    Aryan Prajapat
    Aryan Prajapat Knowledge Contributor
    Added an answer on July 20, 2024 at 11:30 am

    You can modify a DataFrame’s row and column index using reindexing in Pandas. Indexes can be used with reference to many index DataStructure associated with several pandas series or pandas DataFrame.

    You can modify a DataFrame’s row and column index using reindexing in Pandas. Indexes can be used with reference to many index DataStructure associated with several pandas series or pandas DataFrame.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  9. Asked: July 20, 2024In: Education

    How to create a series from the dictionary object in pandas?

    Aryan Prajapat
    Aryan Prajapat Knowledge Contributor
    Added an answer on July 20, 2024 at 11:30 am

    To make a series from a dictionary, simply pass the dictionary to the command pandas.Series method. The keys of the dictionary form the index values of the series and the values of the dictionary form the values of the series.

    To make a series from a dictionary, simply pass the dictionary to the command pandas.Series method. The keys of the dictionary form the index values of the series and the values of the dictionary form the values of the series.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  10. Asked: July 20, 2024In: Education

    in publishing what is the verse?

    Aryan Prajapat
    Aryan Prajapat Knowledge Contributor
    Added an answer on July 20, 2024 at 11:28 am

    left page - recto right page is the verse in publishing.

    left page – recto right page is the verse in publishing.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
1 … 289 290 291 292 293 … 311

Sidebar

Ask A Question

Stats

  • Questions 59,838
  • Answers 53,494
  • Popular
  • Answers
  • Mr.Doge

    What are the best AI tools available for Creative Designing?

    • 52 Answers
  • Mr.Doge

    How is tax calculated in India for investing in US ...

    • 41 Answers
  • Mr.Doge

    How to invest in NCD/ Corporate Bonds in India? Is ...

    • 36 Answers
  • dmktg39 singhal
    dmktg39 singhal added an answer An orange safety fence is important because it provides clear… April 6, 2026 at 6:46 pm
  • dmktg39 singhal
    dmktg39 singhal added an answer PC hollow sheets are preferred because they provide excellent strength,… April 6, 2026 at 6:39 pm
  • Singhal Sipl
    Singhal Sipl added an answer Choosing a reliable geonet supplier in India requires careful evaluation… April 6, 2026 at 5:17 pm

Trending Tags

ai (245) biology (376) branch of study (241) business (238) cricket (270) digital marketing (217) education (1095) english (343) environment (179) fashion (171) finance (172) food (300) general knowledge. (1051) general science (258) geography (269) gk (776) health (396) history (798) lifestyle (208) pilates (300) pilates fitness (270) pilates workout (255) poll (261) psychology (229) question (7819) science (352) sports (334) technology (367) tonic method (167) travel (367)

Explore

  • Home
  • Groups
  • Add group
  • Catagories
  • Questions
    • New Questions
    • Most Answered
  • Polls
  • Tags
  • Badges

© 2024 Answerclub.org | All Rights Reserved
Designed & Developed by INFINITEBOX & TechTrends