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 a permission to ask a question, You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here
Sign InSign Up

Algoritmo Lab Forum

Algoritmo Lab Forum Logo Algoritmo Lab Forum Logo

Algoritmo Lab Forum Navigation

  • Forum
  • Algoritmo Lab
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Forum
  • Algoritmo Lab
Home/ Questions/Q 284
Next
In Process
Aditya Sharma
Aditya Sharma

Aditya Sharma

  • 2 Questions
  • 0 Answers
  • 0 Best Answers
  • 21 Points
View Profile
  • 0
Aditya SharmaUser
Asked: January 26, 20212021-01-26T15:29:38+00:00 2021-01-26T15:29:38+00:00In: Python

Are there any coding standards in Python?

  • 0

Like in C ++, we have certain coding standards that help us write proper code by following defined coding conventions. Are there any coding standards in Python?

codingstandardspythoncoding
  • 2 2 Answers
  • 73 Views
  • 1 Follower
  • 0
Answer
Share
  • Facebook

    2 Answers

    • Voted
    • Oldest
    • Recent
    1. Anurag Dasgupta

      Anurag Dasgupta

      • 0 Questions
      • 2 Answers
      • 0 Best Answers
      • 24 Points
      View Profile
      Anurag Dasgupta User
      2021-01-29T05:08:54+00:00Added an answer on January 29, 2021 at 5:08 am

      You can also refer to Google Python Style Guide. This style guide is a list of dos and don’ts for Python programs.

      See: https://google.github.io/styleguide/pyguide.html

      • 0
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    2. Dipayan Sarkar

      Dipayan Sarkar

      • 0 Questions
      • 4 Answers
      • 0 Best Answers
      • 39 Points
      View Profile
      Dipayan Sarkar SME
      2021-01-26T15:45:00+00:00Added an answer on January 26, 2021 at 3:45 pm

      Its always a nice idea to follow coding conventions & standards. Code commenting also helps a lot in understanding the code written by other developers. The following need to be given attention to: Naming conventions, Code layout, Indentation, Comments.

      For python, the standard that is followed is PEP8. PEP8 defines the style guide for python coding. A full style guide is documented in official python.org site: https://www.python.org/dev/peps/pep-0008/

      You may also like to read – when NOT to use PEP8 @ https://realpython.com/python-pep8/#when-to-ignore-pep-8

      • 0
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp

    You must login to add an answer.

    Forgot Password?

    Need An Account, Sign Up Here

    Sidebar

    Ask A Question
    • Popular
    • Answers
    • Tags
    • Aditya Sharma

      Are there any coding standards in Python?

      • 2 Answers
    • Bikash Ghosh

      Model Overfitting or Underfitting

      • 2 Answers
    • NehaSequeira

      Intercept in linear regression model

      • 2 Answers
    • NehaSequeira

      Scaling for numeric variables

      • 2 Answers
    • mahima_vaidya

      Multiple Linear Regression

      • 2 Answers
    • Dipayan Sarkar
      Dipayan Sarkar added an answer One of the assumptions of Linear Regression - No multicollinearity.… July 14, 2021 at 4:46 am
    • mahima_vaidya
      mahima_vaidya added an answer 'OLS' object has no attribute 'pvalues' This is the error… July 6, 2021 at 7:24 am
    • Dipayan Sarkar
      Dipayan Sarkar added an answer The statsmodels.regression.linear_model.OLSResults.pvalues should give you the pvalues of the respective… July 5, 2021 at 6:10 pm
    • shreemann
      shreemann added an answer If we remove the intercept then that would make the… June 23, 2021 at 4:53 am
    • Suchita
      Suchita added an answer When we scale the date prior to train-test split,  we… June 18, 2021 at 11:35 am
    codingstandards linear regression logistic regression p-value python pythoncoding question

    Top Members

    Dipayan Sarkar

    Dipayan Sarkar

    • 0 Questions
    • 39 Points
    SME
    Shivam17

    Shivam17

    • 0 Questions
    • 29 Points
    SME
    Prasad Valse

    Prasad Valse

    • 0 Questions
    • 28 Points
    SME

    Explore

    • Recent Questions
    • Feed
    • Most Answered
    • Answers
    • No Answers
    • Most Visited
    • Most Voted

    © 2021 Algoritmo Lab. All Rights Reserved