Gang Of Coders
Home
About Us
Contact Us
All List Solutions on Gang of Coders
Total of 998 List Solutions
Accessing the index in 'for' loops
Python
Loops
List
How to make a flat list out of a list of lists?
Python
List
Multidimensional Array
Flatten
Finding the index of an item in a list
Python
List
Indexing
How do I concatenate two lists in Python?
Python
List
Concatenation
How do I check if a list is empty?
Python
List
What is the difference between Python's list methods append and extend?
Python
List
Data Structures
Append
Extend
How do I clone a list so that it doesn't change unexpectedly after assignment?
Python
List
Reference
Copy
Clone
How do you split a list into evenly sized chunks?
Python
List
Split
Chunks
How do I get the last element of a list?
Python
List
Indexing
How do I sort a list of dictionaries by a value of the dictionary?
Python
List
Sorting
Dictionary
Data Structures
How do I get the number of elements in a list in Python?
Python
List
How can I randomly select an item from a list?
Python
List
Random
How to remove an element from a list by index
Python
List
Indexing
Why is it string.join(list) instead of list.join(string)?
Python
String
List
How do I count the occurrences of a list item?
Python
List
Count
How do I check if a variable is an array in JavaScript?
Javascript
Arrays
List
Variables
Why not inherit from List<T>?
C#
.Net
List
Oop
Inheritance
How do I convert two lists into a dictionary?
Python
List
Dictionary
How to Sort a List<T> by a property in the object
C#
Generics
List
Sorting
Removing duplicates in lists
Python
Algorithm
List
Duplicates
Intersection
How to reverse a list?
Python
List
Converting array to list in Java
Java
Arrays
List
Difference between del, remove, and pop on lists
Python
List
How to return dictionary keys as a list in Python?
Python
Python 3.x
List
Dictionary
Python 2.x
How to iterate through two lists in parallel?
Python
List
For Loop
Iterator
Fastest way to check if a value exists in a list
Python
Performance
List
What's the difference between lists and tuples?
Python
List
Tuples
Is there a simple way to delete a list element by value?
Python
List
Get difference between two lists
Python
Performance
List
Set
Set Difference
Get unique values from a list in python
Python
List
How to sort a list of objects based on an attribute of the objects?
Python
List
Sorting
Count
How to convert list to string
Python
String
List
List comprehension vs. lambda + filter
Python
List
Functional Programming
Filter
Lambda
How do I remove the first item from a list?
Python
List
How do I concatenate items in a list to a single string?
Python
String
List
Concatenation
How do I join two lists in Java?
Java
List
jdk1.5
How do you remove duplicates from a list whilst preserving order?
Python
List
Duplicates
Unique
Remove empty strings from a list of strings
Python
String
List
Shuffling a list of objects
Python
List
Random
Shuffle
How to make a new List in Java
Java
List
Collections
Writing a list to a file with Python
Python
File
List
File Io
Newline
List of lists changes reflected across sublists unexpectedly
Python
List
Nested Lists
Mutable
How to define a two-dimensional array?
Python
List
Multidimensional Array
How to sort a list/tuple of lists/tuples by the element at a given index?
Python
List
Sorting
Tuples
IEnumerable vs List - What to Use? How do they work?
C#
Linq
List
Ienumerable
C# List<string> to string with delimiter
C#
String
List
Delimiter
How to check if a string is a substring of items in a list of strings?
Python
String
List
Create an empty list in Python with certain size
Python
List
Why is [] faster than list()?
Python
Performance
List
Instantiation
Literals
How to convert a Map to List in Java?
Java
List
Collections
Map
Convert all strings in a list to int
Python
List
Int
Using LINQ to remove elements from a List<T>
C#
.Net
Linq
List
Array versus List<T>: When to use which?
.Net
Arrays
List
How do I clone a generic list in C#?
C#
Generics
List
Clone
What's the idiomatic syntax for prepending to a short python list?
Python
List
Prepend
Java: convert List<String> to a join()d String
Java
String
List
Append integer to beginning of list in Python
Python
List
Variables
Append
Convert list to array in Java
Java
Arrays
List
Arraylist
How would you make a comma-separated string from a list of strings?
Python
String
List
Getting the index of the returned max or min item using max()/min() on a list
Python
List
Max
Min
The difference between bracket [ ] and double bracket [[ ]] for accessing the elements of a list or dataframe
R
List
Dataframe
Extract
R Faq
Finding the average of a list
Python
List
Lambda
Average
Reduce
How to split a string into a list?
Python
List
Split
Text Segmentation
Getting a map() to return a list in Python 3.x
Python
List
Python 3.x
Map Function
Type List vs type ArrayList in Java
Java
List
Interface
Decoupling
What is the most "pythonic" way to iterate over a list in chunks?
Python
List
Loops
Optimization
Chunks
How do I find the duplicates in a list and create another list with them?
Python
List
Duplicates
Convert a list to a data frame
R
List
Dataframe
if else in a list comprehension
Python
List
List Comprehension
If Statement
Alphabet range in Python
Python
String
List
Alphabet
How to split a string into a list of characters?
Python
String
List
Is there a short contains function for lists?
Python
List
Search
Collections
Contains
Convert Set to List without creating new List
Java
Performance
List
Set
Why do I get an UnsupportedOperationException when trying to remove an element from a List?
Java
Exception
List
Arraylist
Remove duplicates from a List<T> in C#
C#
List
Generics
Duplicates
Transpose/Unzip Function (inverse of zip)?
Python
List
Matrix
Transpose
How do I remove repeated elements from ArrayList?
Java
List
Collections
Arraylist
Duplicates
How to remove elements from a generic list while iterating over it?
C#
List
Loops
Generics
Key Value
List<T> or IList<T>
C#
List
Generics
What are the advantages of NumPy over regular Python lists?
Python
Arrays
List
Numpy
Numpy Ndarray
How to find all occurrences of an element in a list
Python
List
Indices
How can I get list of values from dict?
Python
List
Dictionary
Sorting list based on values from another list
Python
List
Sorting
Remove all the elements that occur in one list from another
Python
List
Python - Create list with numbers between 2 values?
Python
List
List vs tuple, when to use each?
Python
List
Types
Tuples
Flatten an irregular list of lists
Python
List
Optimization
Nested Lists
Flatten
Sort a list of tuples by 2nd item (integer value)
Python
List
Tuples
HashSet vs. List performance
.Net
Performance
Collections
List
Hash
How can I compare two lists in python and return matches
Python
List
How to initialize List<String> object in Java?
Java
List
What is the difference between Set and List?
Java
List
Set
How to get the list of all installed color schemes in Vim?
List
Vim
Color Scheme
How to initialize a list of strings (List<string>) with many string values
C#
String
List
Find intersection of two nested lists?
Python
List
Intersection
Remove all occurrences of a value from a list?
Python
List
List<T> OrderBy Alphabetical Order
C#
Generics
List
Lambda
Sorting
Print a list in reverse order with range()?
Python
List
Range
Reverse
Get list from pandas dataframe column or row?
Python
List
Pandas
How can I add an item to a IEnumerable<T> collection?
C#
List
Ienumerable
How to check if an object is a list or tuple (but not string)?
Python
List
Types
Assert
ArrayList vs List<> in C#
C#
.Net
List
Generics
Arraylist
C# LINQ find duplicates in List
Linq
List
Duplicate Removal
How to group dataframe rows into list in pandas groupby
Python
Pandas
List
Aggregate
Pandas Groupby
Get the cartesian product of a series of lists?
Python
List
Cartesian Product
Combine a list of data frames into one data frame by row
R
List
Dataframe
R Faq
How to sort a List/ArrayList?
Java
List
Sorting
Arraylist
Collections
Python List vs. Array - when to use?
Python
Arrays
List
How to avoid "RuntimeError: dictionary changed size during iteration" error?
Python
List
Dictionary
Loops
Sum a list of numbers in Python
Python
List
Sum
Check if something is (not) in a list in Python
Python
List
Conditional
Membership
Getting a list item by index
C#
List
How to take the first N items from a generator or list?
Python
List
Generator
How to avoid "ConcurrentModificationException" while removing elements from `ArrayList` while iterating it?
Java
List
Arraylist
Iterator
How to get last items of a list in Python?
Python
List
Slice
Scala list concatenation, ::: vs ++
List
Scala
Concatenation
Array or List in Java. Which is faster?
Java
Arrays
List
Performance
How to get the first element of the List or Set?
Java
List
Collections
Set
Finding and replacing elements in a list
Python
List
Replace
Flatten List in LINQ
C#
Linq
List
How to easily initialize a list of Tuples?
C#
List
Collections
.Net 4.0
Tuples
Find first sequence item that matches a criterion
Python
List
How to empty a list?
Python
List
How do I copy items from list to list without foreach?
C#
Oop
List
Foreach
Copy
Determine if string is in list in JavaScript
Javascript
String
List
Difference between a Seq and a List in Scala
List
Scala
Collections
Seq
Join a list of items with different types as string in Python
Python
String
List
How to merge lists into a list of tuples?
Python
List
Merge
Tuples
Why doesn't list have safe "get" method like dictionary?
Python
List
Exception
Indexoutofboundsexception
How to Correctly Use Lists in R?
R
List
Data Structures
Language Features
Abstract Data-Type
How to split a list based on a condition?
Python
List
Find object in list that has attribute equal to some value (that meets any condition)
Python
Django
List
Convert a list with strings all to lowercase or uppercase
Python
List
How to delete an item in a list if it exists?
Python
List
Is there a concurrent List in Java's JDK?
Java
List
Concurrency
Splitting on last delimiter in Python string?
Python
String
List
Parsing
Split
How to convert a Collection to List?
Java
List
Sorting
Collections
Apache Commons-Collection
Add list to set?
Python
List
Python 2.7
Set
How can I remove an element from a list?
R
List
Indexing
R Faq
In Python, when to use a Dictionary, List or Set?
Python
List
Dictionary
Data Structures
Set
Transpose list of lists
Python
List
Transpose
Check if two unordered lists are equal
Python
List
Comparison
Efficient way to rotate a list in python
Python
List
Converting from IEnumerable to List
C#
List
Ienumerable
Python string.join(list) on object array rather than string array
Python
List
How to append multiple values to a list in Python
Python
List
In Python, how do I convert all of the items in a list to floats?
Python
List
Casting
Python list subtraction operation
Python
List
List all files in one directory PHP
Php
List
Directory
Simultaneously merge multiple data.frames in a list
R
List
Merge
Dataframe
R Faq
Element-wise addition of 2 lists?
Python
List
Elementwise Operations
Access multiple elements of list knowing their index
Python
Python 3.x
List
Indexing
Element
Merge two (or more) lists into one, in C# .NET
C#
.Net
List
List of Timezone IDs for use with FindTimeZoneById() in C#?
C#
List
Timezone
Is the order of elements in a JSON list preserved?
Javascript
Arrays
Json
List
Concatenating two lists - difference between '+=' and extend()
List
Python
Split a List into smaller lists of N size
C#
List
Split
remove None value from a list without removing the 0 value
Python
List
Filter
List Comprehension
Nonetype
Python - Count elements in list
Python
List
List comprehension on a nested list?
Python
List
Nested
List Comprehension
Convert generic List/Enumerable to DataTable?
C#
List
Generics
Datatable
Java List.add() UnsupportedOperationException
Java
List
Exception
Arraylist
Unsupportedoperation
How do you cast a List of supertypes to a List of subtypes?
Java
List
Generics
Collections
Casting
Python's most efficient way to choose longest string in list?
Python
List
List Comprehension
Pandas DataFrame to List of Dictionaries
Python
List
Dictionary
Pandas
Dataframe
How do I loop through a list by twos?
Python
List
Loops
For Loop
Iteration
Check if string ends with one of the strings from a list
Python
String
List
Quickest way to compare two generic lists for differences
C#
Linq
List
How to print out all the elements of a List in Java?
Java
List
Difference between List and Array types in Kotlin
Arrays
List
Kotlin
Are tuples more efficient than lists in Python?
Python
Performance
List
Tuples
Python Internals
Compare two List<T> objects for equality, ignoring order
C#
List
Comparison
Equals
Initializing a list to a known number of elements in Python
Python
Arrays
List
Split a Pandas column of lists into multiple columns
Python
Pandas
List
Split
vector vs. list in STL
C++
List
Vector
Stl
Iterating over every two elements in a list
Python
List
Select distinct using linq
C#
Linq
List
Class
Test if a variable is a list or tuple
Python
Types
List
Calculating arithmetic mean (one type of average) in Python
Python
List
Mean
How to check if all elements of a list match a condition?
Python
List
For Loop
While Loop
How to unzip a list of tuples into individual lists?
Python
List
Tuples
List Comprehension
Can you remove elements from a std::list while iterating through it?
C++
List
Std
Pass a list to a function to act as multiple arguments
Python
List
Parameter Passing
Shorter syntax for casting from a List<X> to a List<Y>?
C#
List
Casting
Ienumerable
str.startswith with a list of strings to test for
Python
String
List
Remove items from one list in another
C#
.Net
List
How to convert List to Map?
Java
List
Data Structures
Hashmap
Data Conversion
Getting all file names from a folder using C#
C#
List
Text Files
Directory
Convert tuple to list and back
Python
List
Tuples
Convert Iterator to List
Java
List
Iterator
How to randomize two ArrayLists in the same fashion?
Java
List
Collections
Arraylist
What is the difference between `sorted(list)` vs `list.sort()`?
Python
List
Sorting
Copy
In Place
How do I find a list of Homebrew's installable packages?
List
Macos
Installation
Package
Homebrew
How can I verify if one list is a subset of another?
Python
List
Take the content of a list and append it to another list
Python
List
Getting a list of values from a list of dicts
Python
List
Dictionary
How to create a drop-down list?
Android
List
Drop Down-Menu
Android Spinner
Java List.contains(Object with field value equal to x)
Java
List
Search
Contains
Appending the same string to a list of strings in Python
Python
List
Append an object to a list in R in amortized constant time, O(1)?
R
Performance
List
Append
Big O
Converting Dictionary to List?
Python
List
Dictionary
Creating an empty list in Python
Python
Performance
List
Coding Style
Timeit
Convert a list to a string in C#
C#
.Net
String
List
How can I multiply all items in a list together with Python?
Python
List
Multiplication
Compute list difference
Python
List
How to remove item from list in C#?
C#
List
How can I convert a dictionary into a list of tuples?
Python
List
Dictionary
How is Python's List Implemented?
Python
Arrays
List
Linked List
Python Internals
How to add multiple objects to ManyToMany relationship at once in Django ?
Django
List
Manytomanyfield
Why does "return list.sort()" return None, not the list?
Python
List
Sorting
Return
Initialising an array of fixed size in Python
Python
Arrays
List
How can I convert comma separated string into a List<int>
C#
.Net
String
List
Finding median of list in Python
Python
List
Sorting
Median
Initialise a list to a specific length in Python
Python
List
List of lists into numpy array
Python
List
Numpy
Python find elements in one list that are not in the other
Python
List
How to switch position of two items in a Python list?
Python
List
Permutations between two lists of unequal length
Python
List
Algorithm
Itertools
Combinatorics
How to construct a set out of list items in python?
Python
List
Set
How do I make a list of data frames?
R
List
Dataframe
R Faq
Python 3 turn range to a list
Python
Python 3.x
List
Range
How to get a reversed list view on a list in Java?
Java
List
Collections
Iterator
Reverse
Why does this iterative list-growing code give IndexError: list assignment index out of range?
Python
List
Exception
Split string, convert ToList<int>() in one line
C#
List
Split
Android Endless List
Android
List
Listview
Python Sets vs Lists
Python
List
Performance
Data Structures
Set
What's the best name for a non-mutating "add" method on an immutable collection?
Language Agnostic
Naming Conventions
List
Immutability
Why does this code for initializing a list of lists apparently link the lists together?
Python
List
Unpacking a list / tuple of pairs into two lists / tuples
Python
List
Tuples
Different ways of clearing lists
Python
List
Is there a zip-like function that pads to longest length?
Python
List
Zip
Pandas column of lists, create a row for each list element
Python
Pandas
List
How do I check if there are duplicates in a flat list?
Python
String
List
Duplicates
Performance of Arrays vs. Lists
.Net
Performance
Arrays
Generics
List
Split a string by a delimiter in python
Python
String
List
Split
Find the most common element in a list
Python
List
Removing a list of characters in string
Python
String
List
Replace
How to deep copy a list?
Python
List
Copy
Deep Copy
Dictionary: Get list of values for list of keys
Python
List
Dictionary
Key
What is the syntax to insert one list into another list in python?
Python
List
Append
Extend
How to convert comma-delimited string to list in Python?
Python
Parsing
List
Tuples
From list of integers, get number closest to a given value
Python
List
Sorting
Integer
SQL variable to hold list of integers
Sql Server
List
Tsql
Variables
Reporting Services
When to use a linked list over an array/array list?
Arrays
List
Arraylist
Linked List
How can I find the last element in a List<>?
C#
List
Convert [key1,val1,key2,val2] to a dict?
Python
List
Dictionary
Convert List<DerivedClass> to List<BaseClass>
C#
List
Inheritance
Collections
Covariance
Common elements comparison between 2 lists
Python
List
Remove duplicate dict in list in Python
Python
List
Dictionary
Get a list of distinct values in List
C#
Linq
List
Distinct
What is the difference between List.of and Arrays.asList?
Java
List
Java 9
Print list without brackets in a single row
Python
List
Create a list with initial capacity in Python
Python
List
Dictionary
Initialization
What exactly does the .join() method do?
Python
List
String
How can I sort a List alphabetically?
Java
List
Sorting
Collections
Alphabetical
What is the inverse function of zip in python?
Python
List
Numpy
Tuples
Iterate a list with indexes in Python
Python
List
How to read a text file into a list or an array with Python
Python
Arrays
List
Text
Pythonic way to return list of every nth item in a larger list
List
Python
How to get first element in a list of tuples?
Python
List
How to do a recursive sub-folder search and return files in a list?
Python
List
Recursion
os.walk
Most concise way to convert a Set<T> to a List<T>
Java
List
Collections
Set
jdk1.6
Python: finding an element in a list
Python
List
How can I return two values from a function in Python?
Python
List
Function
Return
Return Value
Python data structure sort list alphabetically
Python
List
Sorting
Alphabetical
Splitting a list into N parts of approximately equal length
Python
List
Chunks
Call int() function on every list element?
Python
List
Type Conversion
Integer
Java 8 stream reverse order
Java
List
Sorting
Java 8
Java Stream
What do ellipsis [...] mean in a list?
Python
Python 2.7
Python 3.x
List
Ellipsis
Linq select objects in list where exists IN (A,B,C)
C#
Linq
List
Linq to-Objects
Exists
How to find all positions of the maximum value in a list?
Python
List
Indexing
Max
What's the difference between lists enclosed by square brackets and parentheses in Python?
Python
List
Tuples
Are lists thread-safe?
Python
Multithreading
List
Python 3.x
Python Multithreading
How to efficiently compare two unordered lists (not sets) in Python?
Python
Algorithm
List
Comparison
How do you concatenate Lists in C#?
C#
Arrays
List
Concatenation
Why can tuples contain mutable items?
Python
List
Tuples
Immutability
Python Internals
Split list into smaller lists (split in half)
Python
List
Split
How do I get the list of keys in a Dictionary?
C#
List
Dictionary
How do I merge a list of dicts into a single dict?
Python
List
Dictionary
Insert at first position of a list in Python
Python
List
Insert
How to loop through all but the last item of a list?
Python
List
For Loop
Case insensitive 'in'
Python
String
List
Case Insensitive
C# List of objects, how do I get the sum of a property
C#
List
Sum
python list by value not by reference
Python
List
Reference
Deleting multiple elements from a list
Python
List
How to split() a delimited string to a List<String>
C#
.Net
List
Arraylist
How to sort two lists (which reference each other) in the exact same way
Python
List
Sorting
Append value to empty vector in R?
R
List
Vector
Append
Check if a string contains an element from a list (of strings)
C#
vb.net
List
Coding Style
Performance
Case-Insensitive List Search
C#
List
Search
Case Insensitive
Build tree array from flat array in javascript
Javascript
Arrays
List
Tree
How do I use LINQ to obtain a unique list of properties from a list of objects?
Linq
Class
List
C# 3.0
Properties
Find and replace string values in list
Python
String
List
How to merge 2 List<T> and removing duplicate values from it in C#
C#
List
Merge
Duplicates
How can I add to a List's first position?
C#
List
How to remove multiple indexes from a list at the same time?
Python
List
Looping over a list in Python
Python
List
Counting the number of True Booleans in a Python List
Python
List
Boolean
Counting
How to clone or copy a list in kotlin
List
Copy
Kotlin
Create an array or List of all dates between two dates
C#
asp.net
List
case-insensitive list sorting, without lowercasing the result?
Python
String
List
Sorting
Case Insensitive
How to get item's position in a list?
Python
List
LINQ: "contains" and a Lambda query
C#
.Net
List
Linq
Lambda
What is the difference between HashSet<T> and List<T>?
.Net
List
Hashset
Difference
Access nested dictionary items via a list of keys?
Python
List
Dictionary
How to convert a string with comma-delimited items to a list in Python?
Python
String
List
Why am I not getting a java.util.ConcurrentModificationException in this example?
Java
List
Concurrentmodification
Foreach
Determine if 2 lists have the same elements, regardless of order?
Python
List
Equality
Python 2.x
Generic List - moving an item within the list
C#
.Net
Generics
List
Find an element in a list of tuples
Python
List
Search
Tuples
How to get the nth element of a python list or a default if not available
Python
List
Python set to list
Python
List
Set
How to convert a List<String> into a comma separated string without iterating List explicitly
Java
List
In Python, how do I index a list with another list?
Python
List
Indexing
How to add List<> to a List<> in asp.net
C#
asp.net
List
How to merge YAML arrays?
List
Data Structures
Yaml
How to merge multiple lists into one list in python?
Python
List
Join
Merge
Python list iterator behavior and next(iterator)
Python
List
Iterator
Iteration
Filtering a list based on a list of booleans
Python
List
Numpy
Non-alphanumeric list order from os.listdir()
Python
List
Directory Listing
Listdir
Select 50 items from list at random
Python
List
Select
Random
Check if list contains element that contains a string and get that element
C#
.Net
Linq
List
Contains
Pythonic way to check if a list is sorted or not
Python
Algorithm
List
Sorting
How to perform element-wise multiplication of two lists?
Python
List
Multiplication
Elementwise Operations
Check if list is empty in C#
C#
List
Isnullorempty
Best way to concatenate List of String objects?
Java
String
List
Extract first item of each sublist
Python
List
Nested
Check if value already exists within list of dictionaries?
Python
List
Dictionary
Converting list to *args when calling function
Python
List
Arguments
Function Call
Best way to convert list to comma separated string in java
Java
String
List
Collections
Set
What is the difference between List and ArrayList?
Java
Android
List
Arraylist
Understand Python swapping: why is a, b = b, a not always equivalent to b, a = a, b?
Python
Python 3.x
List
Indexing
Swap
Replace values in list using Python
Python
List
Performance
Replace
PHP Get all subdirectories of a given directory
Php
List
Get
Subdirectory
Test if lists share any items in python
List
Python
Intersection
C# list.Orderby descending
C#
List
Sorting
Sql Order-By
Add SUM of values of two LISTS into new LIST
Python
List
Sum
Index all *except* one item in python
Python
List
Numpy
Indexing
Is there a performance impact when calling ToList()?
C#
Arrays
Performance
List
How can I list (ls) the 5 last modified files in a directory?
Linux
List
Terminal
Limit
Ls
Is there a way to measure how sorted a list is?
Arrays
Algorithm
List
Sorting
Why do two identical lists have a different memory footprint?
Python
List
Memory Management
Python Internals
How to convert list of numpy arrays into single numpy array?
Python
List
Numpy
Python assigning multiple variables to same value? list behavior
Python
List
data.frame rows to a list
List
R
Dataframe
Why are trailing commas allowed in a list?
Python
List
Syntax
Comma
Trailing
Check whether an array is a subset of another
C#
List
Linq
Subset
C# Convert List<string> to Dictionary<string, string>
C#
List
Dictionary
In Clojure, when should I use a vector over a list, and the other way around?
List
Vector
Clojure
Sequences
Check list of words in another string
Python
List
What is the 'pythonic' equivalent to the 'fold' function from functional programming?
Python
List
Functional Programming
Reduce
Fold
Is there a better way to iterate over two lists, getting one element from each list for each iteration?
Python
List
Iteration
How to check if all of the following items are in a list?
List
Python
Inclusion
Polymorphism: Why use "List list = new ArrayList" instead of "ArrayList list = new ArrayList"?
Java
List
Interface
Polymorphism
Difference between Array and List in scala
Arrays
List
Scala
Scala Collections
How to convert a set to a list in python?
Python
List
Set
Python 2.6
Insert an element at a specific index in a list and return the updated list
Python
Python 2.7
List
Insert
stale element reference: element is not attached to the page document
Java
List
Selenium Webdriver
Remove multiple items from a Python list in just one statement
Python
List
List Comprehension
How can I access a folder inside of a resource folder from inside my jar File?
Java
List
Resources
Directory
Remove all values within one list from another list?
Python
List
Difference between Select and ConvertAll in C#
C#
.Net
List
Intersection and union of ArrayLists in Java
Java
List
Union
Intersection
Check if one list contains element from the other
Java
List
Find
Element
How do I combine two lists in Dart?
List
Generics
Dart
Concatenation
Combining two lists and removing duplicates, without removing duplicates in original list
Python
List
How can I order a List<string>?
C#
String
List
How to combine two lists in R
R
List
How to return a part of an array in Ruby?
Ruby
Arrays
List
Slice
Matrix Transpose in Python
Python
List
Multidimensional Array
How to overcome TypeError: unhashable type: 'list'
Python
List
Dictionary
Typeerror
Create nice column output in python
Python
String
List
Sort a list of objects in Flutter (Dart) by property value
List
Flutter
Sorting
Dart
How to copy Java Collections list
Java
List
Collections
Copy
Quick way to create a list of values in C#?
C#
List
Does python have a sorted list?
Python
List
Sorting
Python: Finding differences between elements of a list
Python
List
[] and {} vs list() and dict(), which is better?
Python
Performance
List
Dictionary
Join a list of strings in python and wrap each string in quotation marks
Python
String
List
What causes [*a] to overallocate?
Python
Python 3.x
List
Cpython
Python Internals
How to initialize a List<T> to a given size (as opposed to capacity)?
C#
.Net
Generics
List
Initialization
Best way to handle list.index(might-not-exist) in python?
Python
List
Find
Indexing
ICollection<T> Vs List<T> in Entity Framework
C#
List
Ef Code-First
Ienumerable
Icollection
Remove trailing newline from the elements of a string list
Python
List
Strip
Is there any haskell function to concatenate list with separator?
List
Haskell
Concat
Kotlin: How to work with List casts: Unchecked Cast: kotlin.collections.List<Kotlin.Any?> to kotlin.colletions.List<Waypoint>
List
Generics
Casting
Kotlin
Explicitly select items from a list or tuple
Python
List
Select
Indexing
Tuples
How to check if element in groovy array/hash/collection/list?
Arrays
List
Groovy
List of tuples to dictionary
Python
List
Dictionary
Tuples
Difference between Iterator and Listiterator?
Java
List
Iterator
Set
Listiterator
Get last element of Stream/List in a one-liner
Java
List
Java 8
Java Stream
Handling List-types with Esqueleto
Sql
List
Haskell
Esqueleto
Python pandas insert list into a cell
Python
List
Pandas
Insert
Dataframe
Python: how to print range a-z?
Python
String
List
Range
Ascii
How Big can a Python List Get?
Python
List
Size
Pythonic way of checking if a condition holds for any element of a list
Python
List
Sorting Python list based on the length of the string
Python
List
Sorting
Some built-in to pad a list in python
Python
List
List Manipulation
Iterating Over Dictionary Key Values Corresponding to List in Python
Python
List
Function
Dictionary
Loops
What are the differences between vector and list data types in R?
List
R
Vector
How to frame two for loops in list comprehension python
Python
List
For Loop
List Comprehension
Python append() vs. + operator on lists, why do these give different results?
Python
List
Append
Nested Lists
Finding a substring within a list in Python
Python
String
List
how to check if object already exists in a list
C#
Linq
List
How to convert list of key-value tuples into dictionary?
Python
List
Dictionary
"Instantiating" a List in Java?
Java
List
Pythonic way to print list items
Python
List
Printing
List Comprehension
Circular list iterator in Python
Python
List
Iterator
In Python, what is the difference between ".append()" and "+= []"?
Python
List
Concatenation
How to extract the n-th elements from a list of tuples
Python
List
Tuples
Check if list of objects contain an object with a certain attribute value
Python
List
Attributes
Any
Python using enumerate inside list comprehension
Python
List
Iteration
List Comprehension
Filtering a list of strings based on contents
Python
List
How can I find a specific element in a List<T>?
C#
List
Properties
Find
I want to exception handle 'list index out of range.'
Python
List
Exception Handling
How can I initialize a C# List in the same line I declare it. (IEnumerable string Collection Example)
C#
List
Collections
Initialization
Check if list<t> contains any of another list
C#
List
Loops
C# 4.0
Subset
Standard deviation of a list
Python
List
Standard Deviation
Order a List (C#) by many fields?
C#
List
Lambda
Sql Order-By
How to save a list as numpy array in python?
Python
List
Numpy
How to convert list of tuples to multiple lists?
Python
List
Tuples
Difference between Arrays.asList(array) and new ArrayList<Integer>(Arrays.asList(array))
Java
List
Collections
Pairwise crossproduct in Python
Python
List
C#: How to convert a list of objects to a list of a single property of that object?
C#
Linq
List
How to remove all the null elements inside a generic list in one go?
C#
List
Null
Element
Why can I initialize a List like an array in C#?
C#
.Net
List
Initialization
Flatten list of lists
Python
Arrays
List
Brackets
Does java.util.List.isEmpty() check if the list itself is null?
Java
List
Group a list of objects by an attribute
Java
List
Grouping
Appending to list in Python dictionary
Python
List
Python 3.x
Dictionary
Python : List of dict, if exists increment a dict value, if not append a new dict
Python
Loops
List
Tuples
How to check if a list is empty in Python?
Python
List
Lists: Count vs Count()
C#
.Net
List
Linq
Count
Split list into multiple lists with fixed number of elements
List
Scala
Split
Using Python String Formatting with Lists
Python
String
List
Formatting
String Formatting
Convert List to Pandas Dataframe Column
Python
List
Pandas
Dataframe
In Python list comprehension is it possible to access the item index?
Python
List
List Comprehension
Why does random.shuffle return None?
Python
List
Random
Shuffle
Checking if a list is empty with LINQ
C#
.Net
Linq
List
List passed by ref - help me explain this behaviour
C#
List
Pass by-Reference
How to find all duplicate from a List<string>?
C#
List
Duplicates
Easier way to populate a list with integers in .NET
C#
.Net
Linq
List
Checking if all elements in a list are unique
Python
Algorithm
List
Unique
Iterate through pairs of items in a Python list
Python
List
Loops
Call Activity method from adapter
Android
List
Adapter
Addressing
Extract elements of list at odd positions
Python
List
Slice
Apply function to each element of a list
Python
List
Function
Python: Select subset from list based on index set
Python
List
how to check if List<T> element contains an item with a Particular Property Value
C#
List
Contains
How can I delete duplicates in a Dart List? list.distinct()?
List
Dart
How can I get every nth item from a List<T>?
C#
Linq
List
Lambda
Algorithm to generate all possible permutations of a list?
Algorithm
List
Permutation
Move an item inside a list?
Python
List
Why can't I use a list as a dict key in python?
Python
List
Dictionary
Tuples
Hashable
Why would iterating over a List be faster than indexing through it?
Java
List
Iterator
Python - How to sort a list of lists by the fourth element in each list?
Python
List
Sorting
What's the difference between deque and list STL containers?
C++
List
Stl
Deque
Confused about __str__ on list in Python
Python
String
List
Printing
Tostring
Create a List of primitive int?
Java
List
Generics
Collections
Python - use list as function parameters
Python
List
Function Parameter
Convert string to List<string> in one line?
C#
asp.net
List
Generics
String
How to find the min/max value of a common key in a list of dicts?
Python
List
Dictionary
Max
Min
Sorting a list with stream.sorted() in Java
Java
List
Sorting
Java Stream
Identify groups of continuous numbers in a list
Python
List
Range
Continuous
Calling filter returns <filter object at ... >
Python
List
Python 3.x
Filter
How to maintain a Unique List in Java?
Java
List
Distinct Values
random.choice from set? python
Python
List
Set
How does assignment work with list slices?
Python
List
Slice
How do I multiply each element in a list by a number?
Python
List
How can I get the list of a columns in a table for a SQLite database?
Reflection
Sqlite
List
How to find the maximum value in a list of tuples?
Python
List
Tuples
Creating an R dataframe row-by-row
List
R
Dataframe
Sort a list of lists with a custom compare function
Python
List
Sorting
Callback
Zip with list output instead of tuple
Python
List
Zip
Dart: create a list from 0 to N
List
Dart
Range
What do two left angle brackets mean?
C#
.Net
List
For Loop
Bitwise Operators
Pandas DataFrame stored list as string: How to convert back to list
Python
String
List
Pandas
Dataframe
Python: Append item to list N times
Python
List
Cannot instantiate the type List<Product>
Java
List
Initialization
Ejb
Does Python have an immutable list?
Python
List
Tuples
Immutability
Dump a list in a pickle file and retrieve it back later
Python
List
Pickle
Why do tuples take less space in memory than lists?
Python
Python 2.7
List
Tuples
Python Internals
How to allow list append() method to return the new list
Python
List
Append
How do I convert a list into a string with spaces in Python?
Python
String
List
Spaces
How to find the cumulative sum of numbers in a list?
Python
List
Sum
Accumulate
Getting indices of True values in a boolean list
Python
List
Shuffle two list at once with same order
Python
List
Sorting
Shuffle
Pairs from single list
Python
List
Zip
Slice
Idioms
java: (String[])List.toArray() gives ClassCastException
Java
List
Classcastexception
Toarray
How to update an object in a List<> in C#
C#
asp.net
List
Generics
Custom Python list sorting
Python
List
Sorting
What is the difference between Collections.emptyList() and Collections.EMPTY_LIST
Java
List
Collections
Get row-index values of Pandas DataFrame as list?
Python
List
Pandas
Indexing
Does .NET have a way to check if List a contains all items in List b?
C#
.Net
List
Generics
Mono
Why is Java's AbstractList's removeRange() method protected?
Java
List
Collections
Arraylist
Protected
List of dicts to/from dict of lists
Python
List
Dictionary
Python: Get the first character of the first string in a list?
Python
String
List
Character
How to sort a List<Object> alphabetically using Object name field
Java
List
How to convert a java.util.List to a Scala list
List
Scala
Scala Java-Interop
R: Count number of objects in list
List
R
Count
Getting a default value on index out of range in Python
Python
List
Syntax
Default Value
.Contains() on a list of custom class objects
C#
List
Class
Contains
Check if all values in list are greater than a certain number
Python
List
Function
Max
Iterate over all pairs of consecutive items in a list
Python
List
Iterator
Getting unique items from a list
C#
List
Unique
Python: How to check a string for substrings from a list?
Python
String
List
Substring
Convert 2d numpy array into list of lists
Python
Arrays
List
Numpy
Multidimensional Array
What is the most pythonic way to pop a random element from a list?
Python
List
Random
Loop through list with both content and index
Python
List
Loops
How do I initialize a dictionary of empty lists in Python?
Python
List
Dictionary
List to array conversion to use ravel() function
Python
Arrays
List
Numpy
Django queries: how to filter objects to exclude id which is in a list?
Django
List
Interleave multiple lists of the same length in Python
Python
List
Negative list index?
Python
List
Python: converting a list of dictionaries to json
Python
Json
List
Dictionary
How to initialize List<T> in Kotlin?
List
Kotlin
.NET List<T> Concat vs AddRange
.Net
Linq
List
Extension Methods
array filter in python?
Python
List
Filter
How to remove list elements in a for loop in Python?
Python
List
how to append a list<T> object to another
C++
List
Stl
Convert dictionary to list collection in C#
C#
List
Dictionary
Python: Removing list element while iterating over list
Python
List
How do I combine two lists into a dictionary in Python?
Python
List
Dictionary
Why do we have map, fmap and liftM?
List
Haskell
Monads
Redundancy
Functor
Why are lists used infrequently in Go?
Arrays
List
Go
Pythonic way to create union of all values contained in multiple lists
Python
List
Set Union
Big list performance with React
Javascript
List
Reactjs
How to Get a Sublist in C#
C#
.Net
List
.Net 3.5
Sublist
Appending a dictionary to a list - I see a pointer like behavior
Python
List
Dictionary
how to add new <li> to <ul> onclick with javascript
Javascript
Html
List
Test if all elements of a python list are False
Python
List
Freely convert between List<T> and IEnumerable<T>
C#
Linq
List
Ienumerable
Java Compare Two Lists
Java
List
Comparison
Hashmap
Read all files in a folder and apply a function to each data frame
R
List
Lapply
Summary
How do arrays in C# partially implement IList<T>?
C#
.Net
Arrays
List
Interface
Create mutable List from array?
Java
Arrays
List
Mutable
What is the difference between List (of T) and Collection(of T)?
.Net
List
Collections
How to get a certain element in a list, given the position?
C++
List
Stl
Python list rotation
Python
List
Rotation
Head and tail in one line
Python
List
Tail
Head
Sum / Average an attribute of a list of objects
Python
List
Attributes
Sum
Binding List<T> to DataGridView in WinForm
C#
List
Datagridview
Binding
Grid
Unhandled Exception: InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'List<dynamic>
Json
List
Flutter
Dart
Check if element at position [x] exists in the list
C#
List
Insert an item into sorted list in Python
Python
List
Sorted
Select multiple elements from a list
R
List
Subset
How do I sort a list of datetime or date objects?
Python
List
Date
Sorting
Datetime
Get number of items from list (or other iterable) with certain condition
Python
List
Count
Functional Programming
Sequence
One liner: creating a dictionary from list with indices as keys
Python
List
Dictionary
Python 3.x
python filter list of dictionaries based on key value
Python
List
Python 2.7
Dictionary
Getting only element from a single-element list in Python?
Python
Python 3.x
Python 2.7
List
Iterable Unpacking
How do I check if a given value is a generic list?
C#
Reflection
List
Generics
List<T>.Contains() is very slow?
.Net
Arrays
Generics
List
First Python list index greater than x?
Python
List
Python - Initializing Multiple Lists/Line
Python
List
Initialization
Working with dictionaries/lists to get list of keys
R
List
Hashmap
Lookup
Slicing a list in Python without generating a copy
Python
List
Slice
Intelligent way of removing items from a List<T> while enumerating in C#
C#
List
Foreach
Enumeration
What makes sets faster than lists?
Python
List
Set
List<String> to ArrayList<String> conversion issue
Java
List
Arraylist
Select first element of nested list
R
List
Subtracting 2 lists in Python
Python
List
Tuples
Vector
What is the best way to modify a list in a 'foreach' loop?
C#
.Net
List
Enumeration
Enumerable
Extract list of attributes from list of objects in python
List
Loops
Python
How to search a list of tuples in Python
Python
Search
List
Tuples
Check if all elements of a list are of the same type
Python
Python 3.x
List
Types
Scala check if element is present in a list
String
List
Scala
Find
Python - How to check list monotonicity
Python
List
Performance
How to split elements of a list?
Python
List
Split
How to find the last occurrence of an item in a Python list
Python
List
Last Occurrence
Convert an array into an ArrayList
Java
Arrays
List
Arraylist
Blackjack
Finding first and last index of some value in a list in Python
Python
List
Search
Can I zip more than two lists together in Scala?
Scala
Functional Programming
List
Zip
Count property vs Count() method?
C#
Linq
List
Collections
Count
Remove duplicates from a list of objects based on property in Java 8
Java
List
Java 8
Does Distinct() method keep original ordering of sequence intact?
C#
List
Linq
Duplicates
How to shuffle an ArrayList
Java
List
Collections
Accessing a value in a tuple that is in a list
Python
List
Tuples
Convert list into a dictionary
Python
List
Dictionary
c# Trying to reverse a list
C#
List
Reverse
Transform "list of tuples" into a flat list or a matrix
Python
List
Tuples
Convert JSON array to Python list
Python
Json
List
Find all index position in list based on partial string inside item in list
Python
List
Substring
Enumerate
Filling a List with all enum values in Java
Java
List
Enums
Are 2 dimensional Lists possible in c#?
C#
List
How to force a list to a fixed size?
Python
List
Get unique values from ArrayList in Java
Java
List
Set
IEnumerable vs IReadonlyCollection vs ReadonlyCollection for exposing a list member
C#
.Net
List
Ienumerable
Encapsulation
The most efficient way to remove first N elements in a list?
Python
Performance
List
Python 2.7
Python 3.x
Is there a no-duplicate List implementation out there?
Java
List
Collections
Duplicates
In what case would I use a tuple as a dictionary key?
Python
List
Dictionary
Tuples
Reversing a list using slice notation
Python
List
Syntax
Slice
Merge lists with stream API
Java
List
Java 8
Java Stream
How can I filter an ArrayList in Kotlin so I only have elements which match my condition?
List
Kotlin
Filtering
Sorting a List<int>
C#
Linq
List
What is an idiomatic Scala way to "remove" one element from an immutable List?
List
Scala
How to join entries in a set into one string?
Python
List
Set
Python 2.7
Parallel.ForEach with adding to list
C#
List
Locking
Parallel Processing
Enumerate two python lists simultaneously?
Python
List
Python: return the index of the first element of a list which makes a passed function true
Python
List
Function
Indexing
Why is tuple faster than list in Python?
Python
Performance
List
Tuples
Is there a built-in product() in Python?
Python
List
Product
UnsupportedOperationException at java.util.AbstractList.add
Java
List
Exception
Abstract Class
Create a data.frame where a column is a list
R
List
Dataframe
How to add a range of items to an IList?
C#
List
Collections
Addrange
Convert a Scala list to a tuple?
List
Scala
Tuples
Python - TypeError: 'int' object is not iterable
Python
Python 3.x
List
Loops
Iterable
Why does Python start at index -1 (as opposed to 0) when indexing a list from the end?
Python
List
Is it faster to sort a list after inserting items or adding them to a sorted list
Algorithm
Sorting
List
How slow is Python's string concatenation vs. str.join?
Python
String
List
String Concatenation
Checking if a list of objects contains a property with a specific value
C#
.Net
List
Why does List<T>.ForEach allow its list to be modified?
C#
List
Foreach
How to make a new list with a property of an object which is in another list
Java
List
Collections
Java Stream
Guava
appending list but error 'NoneType' object has no attribute 'append'
Python
List
Count frequency of words in a list and sort by frequency
Python
Python 3.x
List
Frequency
Word
Checking for empty or null List<string>
C#
List
Converting a String to a List of Words?
Python
String
List
Words
Text Segmentation
How to convert a matrix to a list of column-vectors in R?
List
R
Matrix
Delete all entries in a Redis list
List
Redis
When to use a sequence in F# as opposed to a list?
List
F#
Does a List<T> guarantee that items will be returned in the order they were added?
.Net
List
Collections
Python: determine if all items of a list are the same item
Python
List
How to remove \n from a list element?
Python
List
Newline
Get random sample from list while maintaining ordering of items?
Python
List
Random
Sortedlist
Converting a string representation of a list into an actual list object
Python
String
List
How can I generate a list of consecutive numbers?
Python
List
Python 3.x
A safe max() function for empty lists
Python
List
Exception
Error Handling
Max
Cannot apply indexing with [] to an expression of type 'System.Collections.Generic.IEnumerable<>
C#
List
Generics
Ienumerable
Python: How to remove empty lists from a list?
Python
List
Python - sum values in dictionary
Python
List
Dictionary
Python slice first and last element in list
Python
List
Slice
Subscript
Confused with python lists: are they or are they not iterators?
Python
List
Iterator
TypeError: 'list' object is not callable in python
Python
List
Finding elements not in a list
Python
List
Guava: Why is there no Lists.filter() function?
Java
List
Filter
Guava
Summing elements in a list
Python
List
Sum
How to flatten a list of lists?
R
List
Tm
Insert element at the beginning of the list in dart
List
Flutter
Dart
Insert
Creating a list of objects in Python
Python
List
Object
Loops
Check if all items are the same in a List
C#
vb.net
List
Linq to-Objects
Joining pairs of elements of a list
Python
String
List
Join
Why does append() always return None in Python?
Python
List
Append
Nonetype
TypeError: list indices must be integers or slices, not str
Python
Arrays
List
Csv
Comma separated lists in django templates
Python
Django
List
Django Templates
Cast IList to List
C#
List
Casting
Ilist
How create a new deep copy (clone) of a List<T>?
C#
List
Clone
Deep Copy
How to save a list to a file and read it as a list type?
Python
List
File
Python 3.x
Pickle
Python -Intersection of multiple lists?
Python
List
Set
Intersection
C# Determine Duplicate in List
C#
Linq
Algorithm
List
Generics
How do you pick "x" number of unique numbers from a list in Python?
Python
List
Random
Python: get a dict from a list based on something inside the dict
Python
Performance
List
Dictionary
How to create a fix size list in python?
Python
List
Simplest way to form a union of two lists
C#
.Net
Linq
List
Union
Combining two sorted lists in Python
Python
List
Sorting
What is the underlying data structure for Python lists?
Python
List
Data Structures
How to cast from List<Double> to double[] in Java?
Java
List
Casting
Double
Conversion of List to Page in Spring
Java
Spring
List
Pagination
Spring Data
How to get everything from the list except the first element using list slicing
Python
Python 2.7
List
Python 3.x
How to for_each through a list(objects) in Terraform 0.12
List
Loops
Object
Foreach
Terraform
QVector vs QList
C++
Qt
List
Vector
How to get dictionary values as a generic list
C#
List
Dictionary
list() uses slightly more memory than list comprehension
Python
List
List Comprehension
Cpython
Python Internals
Kotlin - creating a mutable list with repeating elements
List
Kotlin
Populating a list of integers in .NET
C#
.Net
List
Integer
How to sort and remove duplicates from Python list?
Python
List
Sorting
Unique
Efficient list intersection algorithm
Algorithm
List
Set Intersection
number of values in a list greater than a certain number
Python
List
What is difference between dataframe and list in R?
R
List
Dataframe
Practical difference between List and IEnumerable
C#
.Net
List
Ienumerable
Getting the first non None value from list
Python
List
Python: create a pandas data frame from a list
List
Python 3.x
Pandas
Dataframe
Remove dictionary from list
Python
List
Dictionary
Group list by values
Python
List
Grouping
How to convert a column of DataTable to a List
C#
.Net
List
Datatable
Python: find closest string (from a list) to another string
Python
String
Algorithm
List
Sum range of int's in List<int>
C#
List
Sum
How to get values of selected items in CheckBoxList with foreach in ASP.NET C#?
C#
asp.net
List
Foreach
Checkboxlist
What is time complexity of a list to set conversion?
Python
List
Hash
Set
Time Complexity
Conversion from List<T> to array T[]
C#
.Net
Arrays
Linq
List
How do I serialize a Python dictionary into a string, and then back to a dictionary?
Python
String
List
Serialization
Dictionary
Merge Two Lists in R
R
List
Dataframe
Which is faster: clear collection or instantiate new
.Net
Performance
List
Optimization
Collections
How to check list A contains any value from list B?
C#
Linq
List
Option to ignore case with .contains method?
Java
List
Arraylist
How to use python numpy.savetxt to write strings and float number to an ASCII file?
Python
List
Numpy
Output
What kind of List<E> does Collectors.toList() return?
Java
List
Lambda
Java 8
Collectors
Why does b+=(4,) work and b = b + (4,) doesn't work when b is a list?
Python
Python 3.x
List
Tuples
XML Serialize generic list of serializable objects
C#
List
Generics
Xml Serialization
2D list has weird behavor when trying to modify a single value
Python
Python 2.7
List
2d
Python: Elegant way to check if at least one regex in list matches a string
Python
Regex
List
Get Max value from List<myType>
List
C# 2.0
Python Array with String Indices
Python
Arrays
List
Dictionary
Loop "Forgets" to Remove Some Items
Python
String
List
How to have Java method return generic list of any type?
Java
List
Generics
Reflection
Casting
How to Quickly Remove Items From a List
C#
Linq
List
Collections
Convert List<String> to List<Integer> directly
Java
List
Collections
Arraylist
How can change width of dropdown list?
Html
Css
List
Drop Down-Menu
Html Select
Explanation of how nested list comprehension works?
Python
List
Why is Python list slower when sorted?
Python
List
Caching
Efficient intersection of two List<String> in Java?
Java
List
Intersection
Sort one list by another
C#
Linq
List
Sorting
Strange result when removing item from a list while iterating over it
Python
List
Loops
Performance and Memory allocation comparison between List and Set
Java
List
Collections
Set
In Java how do you sort one list based on another?
Java
List
Sorting
Arraylist
Find empty or NaN entry in Pandas Dataframe
List
Python 2.7
Pandas
Indexing
Dataframe
Convert named list to vector with values only
R
List
Why is a list comprehension so much faster than appending to a list?
Python
List
Python 2.7
Python 3.x
List Comprehension
Mapping dictionary value to list
Python
List
Dictionary
Detecting consecutive integers in a list
Python
Algorithm
List
How can I create an array/list of dictionaries in python?
Python
List
Arrays
Dictionary
How to insert an item into a key/value pair object?
C#
Insert
List
Left and Right Folding over an Infinite list
List
Haskell
Functional Programming
Infinite
Fold
How to pick an item by its probability?
Java
List
Random
Probability
Easiest way to Rotate a List in c#
C#
Arrays
Linq
List
Fastest way to Remove Duplicate Value from a list<> by lambda
C#
List
C# 4.0
Lambda
Generic List
How to display list items as columns?
Css
List
Listview
Vertical Alignment
Get indices of the top N values of a list
Python
List
How to convert a List to variable argument parameter java
Java
List
Variadic Functions
Validation of a list of objects in Spring
Java
Spring
List
Validation
Merge multiple column values into one column in python pandas
Python
List
Pandas
Row
Dataframe
Java 8: sort list of objects by attribute without custom comparator
List
Sorting
Lambda
Java 8
How to select values within a provided index range from a List using LINQ
C#
Linq
List
Range
Is there a class like Dictionary<> in C#, but for just keys, no values?
C#
List
Dictionary
Key
Create random list of integers in Python
Python
List
Random
Performance
Python Array Slice With Comma?
Python
List
Numpy
Slice
Using any() and all() to check if a list contains one set of values or another
Python
List
How to count the number of words in a sentence, ignoring numbers, punctuation and whitespace?
Python
List
Text
Counter
Text Processing
What is Haskell's Stream Fusion
List
Optimization
Compiler Construction
Haskell
Javascript equivalent of PHP's list()
Php
Javascript
List
Phpjs
How to iterate over the first n elements of a list?
Python
List
Slice
List Directories and get the name of the Directory
Python
List
Directory
Operating System
Fastest way to check if a List<String> contains a unique String
Java
String
Performance
List
Contains
Differences between IQueryable, List, IEnumerator?
C#
Linq
List
Ienumerable
Iqueryable
Understanding a recursively defined list (fibs in terms of zipWith)
List
Haskell
Lazy Evaluation
Fibonacci
Lazy Sequences
Find the item with maximum occurrences in a list
Python
List
Max
Counting
How can I ignore ValueError when I try to remove an element from a list?
Python
List
Error Handling
Elements
How can I sort a list of strings in Dart?
String
List
Sorting
Dart
How to add an item to a list in Kotlin?
List
Kotlin
Collections
Kotlin Android-Extensions
Why does splatting create a tuple on the rhs but a list on the lhs?
Python
Python 3.x
List
Tuples
Splat
How to slice a list from an element n to the end in python?
Python
List
Sequence
Slice
List all devices, partitions and volumes in Powershell
List
Powershell
Device
Prevent unlist to drop NULL values
List
R
Null
How to inherit and extend a list object in Python?
Python
List
Inheritance
Finding index of an item closest to the value in a list that's not entirely sorted
Python
List
Search
Break string into list of characters in Python
Python
List
Readlines
Python: filtering lists by indices
Python
List
Filter
Indexing
How to find List has duplicate values in List<string>
C#
Linq
List
Saving lists to txt file
C#
List
How can I return the difference between two lists?
Java
List
Object
Filtering
How to compare equality of lists of arrays with modern Java?
Java
Arrays
List
Java 8
Equals
django - convert a list back to a queryset
Python
Django
List
Sorting
Django Queryset
How to check if a list is ordered?
C#
Unit Testing
List
Html Lists
Python: Removing spaces from list objects
Python
List
Fill List<int> with default values?
C#
List
Scala: Remove duplicates in list of objects
List
Scala
Duplicates
How to get a distinct list from a List of objects?
C#
Linq
Class
List
Properties
Memory errors and list limits?
Python
List
Memory
Limits
How to get the closest number from a List<int> with LINQ?
C#
Linq
List
Numbers
How to remove all duplicate items from a list
Python
List
Perform a string operation for every element in a Python list
Python
String
List
String Operations
Pointer to incomplete class type is not allowed
C++
List
Class
Pointers
Iterator
Passing a List in as varargs
Java
Android
List
Variadic Functions
Check if substring is in a list of strings?
Python
String
List
Sort list while pushing None values to the end
Python
List
Sorting
Nonetype
Splitting List into sublists along elements
Java
List
Java 8
Collectors
type 'List<dynamic>' is not a subtype of type 'List<int>' where
Json
List
Flutter
Dart
Dynamic
Using Python's list index() method on a list of tuples or objects?
Python
List
Tuples
Reverse Lookup
Arrays.asList() not working as it should?
Java
Arrays
List
Variadic Functions
Select method in List<t> Collection
C#
asp.net
List
Dataset
C# Difference between First() and Find()
C#
Linq
List
C# 4.0
Can Newtonsoft Json.NET skip serializing empty lists?
C#
List
Serialization
json.net
find out the elements of an arraylist which is not present in another arraylist
Java
Arrays
List
Collections
Arraylist
Appending a list to a list of lists in R
R
List
Matrix
Append
Extend
'list' object has no attribute 'shape'
Python
List
Numpy
Modifying list while iterating
Python
List
Iterator
Loops
Define a fixed-size list in Java
Java
List
Collections
How can I exclude multiple folders using Get-ChildItem -exclude?
List
Powershell
Directory
iterating over two values of a list at a time in python
Python
List
Generate all combinations from multiple lists
Java
List
Algorithm
Combinations
Cartesian Product
What does "list comprehension" and similar mean? How does it work and how can I use it?
Python
List
List Comprehension
pyspark collect_set or collect_list with groupby
List
Group By
Set
Pyspark
Collect
Working with a List of Lists in Java
Java
Arrays
List
What is the shortest way to initialize List of strings in java?
Java
Arrays
String
List
Initialization
How to remove item from a python list in a loop?
Python
List
How to convert a huge list-of-vector to a matrix more efficiently?
R
List
Matrix
Performance
TypeError: unhashable type: 'list' when using built-in set function
Python
List
Duplicates
How to get first object out from List<Object> using Linq
C#
.Net
List
Linq
C# 4.0
How to convert a List into a Map in Dart
List
Map
Dart
Convert DataSet to List
C#
List
ado.net
Dataset
python pandas flatten a dataframe to a list
Python
List
Numpy
Pandas
Dataframe
Is list::size() really O(n)?
C++
List
Stl
Complexity Theory
Big O
How to convert an ArrayList to a strongly typed generic list without using a foreach?
C#
.Net
List
Arraylist
Generic List
Getting a ConcurrentModificationException thrown when removing an element from a java.util.List during list iteration?
Java
List
Concurrentmodification
li:before{ content: "■"; } How to Encode this Special Character as a Bullit in an Email Stationery?
Css
List
Character Encoding
Special Characters
Get list of attributes of an object in an List
Java
Class
List
Collections
Sum a list of matrices
R
List
Matrix
Remove the last N elements of a list
Python
List
python list comprehension to produce two values in one iteration
Python
List
List Comprehension
How to add element in Python to the end of list using list.insert?
Python
List
Insert
Append a tuple to a list - what's the difference between two ways?
Python
List
Types
Append
Tuples
Auto-initializing C# lists
C#
.Net
List
Collections
Search in lists of lists by given index
Python
List
Default Capacity of List
C#
.Net
List
Capacity
Get a list of numbers as input from the user
Python
List
Input
How does one convert a HashMap to a List in Java?
Java
List
Dictionary
Arraylist
Hashmap
How to get items in a specific range (3 - 7) from list?
C#
List
How to zip two differently sized lists, repeating the shorter list?
Python
List
Python range() and zip() object type
Python
Python 3.x
List
Iterator
Range
List of Tuples to DataFrame Conversion
Python
List
Pandas
Tuples
Why use null function instead of == [] to check for empty list in Haskell?
List
Haskell
Is Empty
Empty List
Getting next element while cycling through a list
Python
List
Iteration
Next
Binding Listbox to List<object> in WinForms
C#
List
Winforms
Listbox
All possible permutations of a set of lists in Python
Python
List
Permutation
Is there a function to flatten a nested list of elements?
List
Haskell
Destination Array not long enough?
C#
List
Locking
Python: How to sort a list of dictionaries by several values?
Python
List
Sorting
Python: Random numbers into a list
Python
List
Random
convert csv file to list of dictionaries
Python
List
Csv
Dictionary
How to remove the last element added into the List?
C#
List
Arraylist
Remove list element without mutation
Python
List
Split a list into parts based on a set of indexes in Python
Python
List
How to slice a list in Python
Python
List
Haskell (:) and (++) differences
List
Haskell
Syntax
Concatenate all list content in one string in C#
C#
List
unique elements in a haskell list
List
Haskell
Pythonic way to split a list into first and rest?
Python
List
Split
Python 2.x
How to get the n next values of a generator in a list (python)
Python
List
Generator
In Python, is there an elegant way to print a list in a custom format without explicit looping?
Python
List
How to get a list from a set?
Python
List
Set
add class via jquery but only when not exists
Jquery
List
Git: List git branches, sort by (and show) date
Git
List
Sorting
Date
Branch
Python: Find index of minimum item in list of floats
Python
List
Floating Point
Minimum
Floating Point-Precision
R + combine a list of vectors into a single vector
R
List
Vector
Append
Sapply
Remove empty elements from list with character(0)
R
List
How to create a numpy array of lists?
Python
Arrays
List
Numpy
How to create an empty list in Dart
List
Dart
Flutter
Reserve memory for list in Python?
Python
Performance
Arrays
Memory Management
List
Search for an item in a Lua list
List
Lua
Lua Table
How can I tell if a python variable is a string or a list?
Python
List
Duck Typing
A method to count occurrences in a list
C#
.Net 3.5
List
Count
Match
How to automatically add » (») to <li> elements using CSS?
Html
Css
List
Copying nested lists in Python
Python
List
Copy
Deep Copy
How to remove duplicates from a list?
Java
List
Collections
Duplicates
Storing data into list with class
C#
.Net
List
pythonic way to iterate over part of a list
Python
List
Iteration
Sort a List of Object in VB.NET
vb.net
List
Sorting
Object
Big-O of list slicing
Python
List
Big O
Converting integer to digit list
Python
List
Integer
Type Conversion
What's the C#-idiomatic way for applying an operator across two lists?
C#
List
How to multiply all integers inside list
Python
List
Multiplication
Scalar
Elementwise Operations
How to make a set of lists
Python
List
Set
How to convert BASE64 string into Image with Flutter?
Image
List
Base64
Converter
Flutter
Iterate over elements of List and Map using JSTL <c:forEach> tag
List
Jsp
Foreach
Hashmap
Jstl
list to dictionary conversion with multiple values per key?
Python
List
Dictionary
Type Conversion
How do I get length of list of lists in Java?
Java
List
An array of List in c#
C#
Arrays
List
Converting string to tuple without splitting characters
Python
List
Python 2.7
Python 3.x
Tuples
How to get every first element in 2 dimensional list
Python
List
Multidimensional Array
Efficiency of using a Python list as a queue
Python
List
Memory Leaks
Efficient way to either create a list, or append to it if one already exists?
Python
List
Python and SQLite: insert into table
Python
Sqlite
List
Insert
Scala's '::' operator, how does it work?
List
Scala
Operator Keyword
Multiple parameters in a List. How to create without a class?
C#
Class
List
Merge lists that share common elements
Python
List
Merge
Boolean Expression
Connected Components
Java List Sorting: Is there a way to keep a list permantly sorted automatically like TreeMap?
Java
List
Sorting
Collections
Treemap
Removing elements that have consecutive duplicates
Python
List
Duplicates
How do I duplicate item when using jquery sortable?
Jquery
List
Drag and-Drop
Duplicates
Jquery Ui-Sortable
How to extract parameters from a list and pass them to a function call
Python
List
Argument Unpacking
Assign value to an individual cell in a two dimensional python array
Python
Arrays
List
Check if a String is in an ArrayList of Strings
Java
String
List
Arraylist
Python Count Elements in a List of Objects with Matching Attributes
Python
List
Object
Attributes
Count
Finding the index of an element in a list scala
List
Scala
How to convert a list to a list of tuples?
Python
List
Tuples
Java stream map and collect - order of resulting container
Java
List
Java 8
Java Stream
Remove the first N items that match a condition in a Python list
Python
List
List Comprehension
What is the meaning of list[:] in this code?
Python
List
For Loop
Iteration
Python AND operator on two boolean lists - how?
Python
List
Boolean
Operator Keyword
In Kotlin, how do you modify the contents of a list while iterating
List
Iterator
Kotlin
Mutable
Python: what is the difference between (1,2,3) and [1,2,3], and when should I use each?
Python
List
Tuples
Convert IQueryable<> type object to List<T> type?
C#
List
Iqueryable
How to add variable key/value pair to list object?
List
R
Is there a way to circumvent Python list.append() becoming progressively slower in a loop as the list grows?
Python
Class
List
Performance
Append
Counting positive integer elements in a list with Python list comprehensions
Python
List
Sum
Integer
List Comprehension
How to persist a List of Strings in Hibernate?
Java
String
Hibernate
List
Annotations
Adding an item to an immutable Seq
List
Scala
Seq
Why is list.size()>0 slower than list.isEmpty() in Java?
Java
List
PHP list of specific files in a directory
Php
File
List
Directory
A list of multiple data types?
C#
Class
List
Python class accessible by iterator and index
Python
List
Iterator
how to fill a list with 0 using python
Python
List
Complexity of list.index(x) in Python
Python
Algorithm
List
Big O
Performance
Why are Arrays invariant, but Lists covariant?
Arrays
List
Scala
Covariance
Python List of np arrays to array
Python
Arrays
List
Numpy
Assigning NULL to a list element in R?
R
List
Null
Making all possible combinations of a list
Python
List
Combinations
Appending to one list in a list of lists appends to all other lists, too
Python
List
Csv
Append
Slicing a list using a variable, in Python
Python
List
Slice
Pandas - combine column values into a list in a new column
Python
List
Pandas
Lambda
Apply
UL list style not applying
Css
List
Yui Grids
Store List to session
C#
asp.net
List
Session
LINQ: How to skip one then take the rest of a sequence
C#
Linq
List
Loops
Skip
Can I create a "view" on a Python list?
Python
Arrays
List
Slice
Difference between IQueryable, ICollection, IList & IDictionary interface
C#
.Net
Performance
List
Collections
Sum one number to every element in a list (or array) in Python
Python
List
Sum
Queue<T> vs List<T>
.Net
Performance
List
Queue
Difference
Generate a list of datetimes between an interval
Python
List
Datetime
Date
Period
Getting the max value of attributes from a list of objects
Python
List
Attributes
Max
Creating a named list from two vectors (names, values)
R
List
Constructor
Lapply
Named
Is .collect guaranteed to be ordered on parallel streams?
Java
List
Java 8
Elixir lists interpreted as char lists
List
Elixir
Why is .ForEach() on IList<T> and not on IEnumerable<T>?
C#
List
Linq
C# 3.0
Ienumerable
Removing elements from a list containing specific characters
Python
List
Data Structures
How to compare two lists in python?
Python
List
Print array without brackets and commas
Java
Android
Arrays
List
Collections
how to convert list of dict to dict
Python
List
Dictionary
Getting the array as GET query parameters in Python
Python
List
Flask
Request
Werkzeug
Can PHP's list() work with associative arrays?
Php
Arrays
List
Associative Array
Java, return if trimmed String in List contains String
Java
Arrays
String
List
Joining byte list with python
Python
List
Join
Byte
Appending a dictionary to a list in a loop
Python
List
Dictionary
Append
how to flatten a 2D list to 1D without using numpy?
Python
Arrays
List
Numpy
How to convert list<String> into String in Dart without iteration?
String
List
Dart
How can I combine multiple rows into a comma-delimited list in SQL Server 2005?
Sql
Sql Server
List
Function
Concatenation
How do I enumerate() over a list of tuples in Python?
Python
List
Enumerate
Remove items of list from another lists with criteria
C#
.Net
Linq
List
Making a list of evenly spaced numbers in a certain range in python
List
Range
Python
How to flatten a list to a list without coercion?
List
R
Standard Library
Flatten
Type Coercion
GIT list of new/modified/deleted files
Git
File
List
Diff
Groovy Method to combine list of lists
List
Groovy
What is the difference between sets and lists in Python?
Python
List
Set
Access item in a list of lists
Python
List
How specify a list value as variable in ansible inventory file?
List
Variables
Ansible
Inventory
Unsupported operand type(s) for +: 'int' and 'str'
Python
Python 3.x
List
Int
Horizontal scrollable div's in a bootstrap row
Html
Css
List
Twitter Bootstrap-3
Scrollable
How to initialize member-struct in initializer list of C++ class?
C++
List
Constructor
Struct
Initializer
Remove the newline character in a list read from a file
Python
List
Newline
Iterating through list of list in Python
Python
List
Using LINQ to convert List<U> to List<T>
C#
Linq
List
.Net 3.5
Casting
Select value from list of tuples where condition
Python
List
Tuples
Why are difference lists more efficient than regular concatenation in Haskell?
Performance
List
Haskell
Time Complexity
Difference Lists
Grouping Python dictionary keys as a list and create a new dictionary with this list as a value
Python
List
Dictionary
Add all elements of an iterable to list
Python
List
Tuples
python; modifying list inside a function
Python
List
Changing values of a list of namedtuples
Python
List
Python 3.x
Tuples
Difference between Collections.sort(list) and list.sort(Comparator)
Java
List
Sorting
Getting Second-to-Last Element in List
Python
List
Indexing
List with duplicated values and suffix
Python
List
List Comprehension
Suffix
ArrayList vs List<object>
C#
.Net
List
Arraylist
Subtracting two lists in Python
Python
List
Collections
Duplicate each member in a list
Python
List
Duplicates
R: Print list to a text file
List
R
Unpacking argument lists for ellipsis in R
List
R
Ellipsis
Iterable Unpacking
What is the most 'pythonic' way to logically combine a list of booleans?
Python
List
Boolean
UnsupportedOperationException in AbstractList.remove() when operating on ArrayList
Java
List
Iterator
Arraylist
C# List - Removing items while looping / iterating
C#
.Net
List
Collections
Python List Slicing with Arbitrary Indices
Python
List
Slice
Groovy, how to iterate a list with an index
Arrays
List
Groovy
Loops
Initialize list with same bool value
Python
List
Initialization
Boolean
List.shuffle() in Dart?
List
Sorting
Random
Set
Dart
mockito anyList of a given size
Java
List
Mockito
Simplest way of checking for string that contains a string in list?
Python
String
List
Convert Python list to pandas Series
Python
List
Pandas
Dataframe
Series
Dynamically adding elements to ArrayList in Groovy
Java
List
Arraylist
Groovy
"bad words" filter
List
Dictionary
Profanity
Cleaning up an STL list/vector of pointers
C++
List
Vector
Stl
Casting IEnumerable<T> to List<T>
C#
List
Ienumerable
Sorting a dictionary with lists as values, according to an element from the list
Python
List
Sorting
Dictionary
equivalent of vbCrLf in c#
C#
List
Split
Language Comparisons
How to transform List<String> to Map<String,String> with Google collections?
Java
List
Dictionary
Guava
Question regarding C#'s `List<>.ToString`
C#
List
How get next (previous) element in std::list without incrementing (decrementing) iterator?
C++
List
Iterator
preallocate list in R
Performance
R
List
Memory
Java Compare Two List's object values?
Java
List
Arraylist
Compare Two Lists Via One Property Using LINQ
C#
Linq
List
Collections
Sort multidimensional array based on 2nd element of the subarray
Python
Arrays
List
Sorting
Multidimensional Array
Use endswith with multiple extensions
Python
List
File
Why does creating a list from a list make it larger?
Python
List
Python Internals
When I assign a list to variable why Pycharm give me a prompt that is "this list creation could be rewritten as a list literal"?
Python
List
Pycharm
How can I find the union on a list of sets in Python?
Python
List
Python 3.x
Set
Set Union
Pandas expand rows from list data available in column
Python
List
Pandas
Dataframe
Expand
Combine multiple lists in Java
Java
List
Why is Collections.sort() much slower than Arrays.sort()?
Java
Arrays
List
Sorting
Timing
Python self-referential list produces weird output on sorted
Python
List
Picking out items from a python list which have specific indexes
Python
List
Indexing
List Comprehension
Shortest way to create a List<T> of a repeated element
C#
.Net
.Net 3.5
List
Tuple list from dict in Python
Python
List
Dictionary
Key Value
Java PriorityQueue with fixed size
Java
List
Size
Priority Queue
array vs vector vs list
C++
Arrays
List
Stl
Vector
Does Haskell have List Slices (i.e. Python)?
List
Haskell
Syntax
Fast vectorized merge of list of data.frames by row
R
Performance
List
Merge
Dataframe
Python return list from function
Python
List
Function
Sort a list of numerical strings in ascending order
Python
List
Sorting
Remove list from list in Python
Python
List
Python 2.7
How to make the for each loop function in C++ work with a custom class
C++
List
C++11
Foreach
Getting a sublist of a Python list, with the given indices?
Python
List
Python 2.7
Replace a object in a list of objects
C#
.Net
List
Variable Assignment
Generic List
How to check if a variable is either a python list, numpy array or pandas series
Python
Arrays
List
Pandas
Numpy
How to efficiently get the mean of the elements in two list of lists in Python
Python
List
Mean