Skip to content
  • YouTube
  • FaceBook
  • Twitter
  • Instagram

Data Analytics Ireland

Data Analytics and Video Tutorials

  • Home
  • Contact
  • About Us
    • Latest
    • Write for us
    • Learn more information about our website
  • Useful Links
  • Glossary
  • All Categories
  • Faq
  • Livestream
  • Toggle search form
  • What are Lambda functions in Python? Python
  • how to copy/paste special a range of cells with xlwings Python
  • How to delete a key from a Python dictionary Python
  • TypeError: ‘list’ object is not an iterator Python
  • Python tutorial: Create an input box in Tkinter Python
  • How to Generate Random Integers Between 0 and 9 Python
  • data cleansing in a business environment Articles
  • R tutorial – How to sort lists using rstudio R Programming

Category: Python Lists

Use lists to help with processing your data and store data.

How to use zip() function in Python

Posted on February 15, 2023February 15, 2023 By admin

Sometimes you need a function that will help you to aggregate or combine severable iterables in one go. When we read the official Python documentation it states that using zip ” Iterates over several iterables in parallel, producing tuples with an item from each one.” So what does that actually mean? Well in essence essentially…

Read More “How to use zip() function in Python” »

Python, Python Functions, Python Lists, Python Tuples

How to pass by reference or pass by value in Python

Posted on February 12, 2023March 12, 2023 By admin

To start off passing by reference basically means that you are telling the program you have written to pass a variable to a function. When passing arguments to a function, it is important to understand the meanings first. As a result, when you pass by reference to a function, the variable data gets processed and…

Read More “How to pass by reference or pass by value in Python” »

Python, Python Functions, Python Lists, Python Tutorial

How Would You Change The Name Of a Key in a Python Dictionary

Posted on January 3, 2023February 12, 2023 By admin

In our last example of working with dictionaries, we showed you How To Delete a Set of Keys From a Python Dictionary. This is a very useful scenario if you want to tidy up the dictionary and remove data not required. Following on from that, in this post, we are going to look at changing…

Read More “How Would You Change The Name Of a Key in a Python Dictionary” »

Python, python dictionaries, python interview questions, Python Lists

How To Delete a Set of Keys From a Python Dictionary

Posted on January 3, 2023February 12, 2023 By admin

In our last video on how to delete a key from a python dictionary, we illustrated where one key could be removed easily. But what if you wanted to remove one or more keys? In the below code, we have created an empty dictionary. This will be populated by values in “dictionary_remove”. Option1 uses the…

Read More “How To Delete a Set of Keys From a Python Dictionary” »

python dictionaries, Python Lists, search

ValueError: Columns must be same length as key

Posted on September 21, 2022February 12, 2023 By admin

Are you looking to learn python, and in the process coming across this error and trying to understand why it occurs? In essence, this usually occurs when you have more than one data frames and in the process of writing your program you are trying to use the data frames and their data, but there…

Read More “ValueError: Columns must be same length as key” »

exception handling, Python, Python Lists, Python Tutorial, strings, Value Error

How To Check For Unwanted Characters Using Loops With Python

Posted on August 21, 2022March 12, 2023 By admin

On this website, we have posted about how to remove unwanted characters from your data and How to remove characters from an imported CSV file both will show you different approaches. In this blog posting, we are going to approach the process by using loops within a function. Essentially we are going to pass a…

Read More “How To Check For Unwanted Characters Using Loops With Python” »

Python Data Cleansing, Python Dataframe, python dictionaries, Python Functions, Python Lists, regular expressions

TypeError: Array() Argument 1 Must Be A Unicode Character, Not List

Posted on June 11, 2022February 12, 2023 By admin

In a recent post, we discussed arrays and what they mean, and how they differ from lists. When you have a list in an array, one of the things that you need to define is what data type it is. If you don’t then the array will throw the error that you are on this…

Read More “TypeError: Array() Argument 1 Must Be A Unicode Character, Not List” »

array, Python Lists, type error

How To Run Python Validation From Javascript

Posted on May 2, 2022February 12, 2023 By admin

More and more, website developers are looking to blend different programming technologies to allow them to use functionality, that maybe is not available to them in the current programming language they utilise. In previous posts how to pass python variables to Javascript and how to run python directly from javascript, we touched on how to…

Read More “How To Run Python Validation From Javascript” »

Javascript, Python, Python Functions, Python Lists

How to Pass Python Variables to Javascript

Posted on March 28, 2022February 12, 2023 By admin

In our recent blog posting How to Pass a Javascript Variable to Python using JSON, we demonstrated how to easily use AJAX to pass whatever data you wanted and then manipulate it with Python. In this blog posting, we are going to show how to do this the other way around. The scenario is that…

Read More “How to Pass Python Variables to Javascript” »

Javascript, Python, Python Lists, Python Tutorial

How to pass multiple lists to a function and compare

Posted on February 18, 2022March 12, 2023 By admin

Have you ever been faced with a situation where you have multiple lists you want to compare, and need a function that will read them in and show you what is different between them all? In this scenario, this can be handy where you have large data sets and need a quick way to find…

Read More “How to pass multiple lists to a function and compare” »

Python Functions, Python Lists

Posts navigation

1 2 Next

Select your language!

  • हिंदी
  • Español
  • Português
  • Français
  • Italiano
  • Deutsch
  • IndexError: single positional indexer is out-of-bounds Index Error
  • TypeError: ‘NoneType’ object is not iterable class
  • How to run Python directly from Javascript Flask
  • IndexError: list index out of range Index Error
  • Regular expressions python Python
  • How to Generate Random Integers Between 0 and 9 Python
  • String Manipulation in Python python method
  • What are the built-in exceptions in Julia? Julia programming

Copyright © 2023 Data Analytics Ireland.

Powered by PressBook Premium theme

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT