Skip to main content

Home/ Python/ Group items tagged functions

Rss Feed Group items tagged

anonymous

Python Built-in Functions - 0 views

  •  
    The Python built-in functions are defined as the functions whose functionality is pre-defined in Python. The python interpreter has several functions that are always present for use.
reckoner reckoner

Python Idioms and Efficiency Suggestions - 0 views

  • What idioms should I use to make my code easier to read? Read "The Python Cookbook", especially the first few chapters. It's a great source of well-written Python code examples.
  • Use function factories to create utility functions. Often, especially if you're using map and filter a lot, you need utility functions that convert other functions or methods to taking a single parameter. In particular, you often want to bind some data to the function once, and then apply it repeatedly to different objects. In the above example, we needed a function that multiplied a particular field of an object by 3, but what we really want is a factory that's able to return for any field name and amount a multiplier function in that family:
  • Use zip and dict to map fields to names. zip turns a pair of sequences into a list of tuples containing the first, second, etc. values from each sequence. For example, zip('abc', [1,2,3]) == [('a',1),('b',2),('c',3)]. You can use this to save a lot of typing when you have fields in a known order that you want to map to names:
  •  
    suggestions for better programming style.
anonymous

Python reversed() Function - 0 views

  •  
    The reversed() function allows us to process the items in a sequence in reverse order. It accepts a sequence and returns an iterator.
reckoner reckoner

Python: Lambda Functions - 1 views

  •  
    lambda functions
anonymous

Python statistics module - 0 views

  •  
    Python statistics module provides the functions to mathematical statistics of numeric data.
jamessidis

Best Python Libraries for Data Science - 0 views

  •  
    Libraries are collection of functions and methods that enable you to perform a wide variety of actions without writing the code yourself. First of all, there are over 137.000 libraries in Python. In this article we are going to learn : Scientific Computing Libraries in Python Visualization Libraries in Python High-Level Machine Learning and Deep Learning Libraries in Python Deep Learning Libraries in Python Python Libraries for NLP ( Natural Language Processing )
baliar

real estate app development cost - biztime - 0 views

  •  
    real estate app development cost - biztime
baliar

Expert Tips for Bespoke Application Development - 0 views

Introduction: In today's fast-paced digital world, businesses strive to stand out from the competition. Bespoke application development offers a tailored solution to meet specific business needs. F...

bespoke application development

started by baliar on 07 Mar 24 no follow-up yet
1 - 8 of 8
Showing 20 items per page