Gang Of Coders
Home
About Us
Contact Us
All Tuples Solutions on Gang of Coders
Total of 141 Tuples Solutions
std::tuple get() member function
C++
Boost
C++11
Tuples
What is a tuple useful for?
Python
Tuples
Why are python strings and tuples are made immutable?
Python
String
Immutability
Tuples
Subclassing tuple with multiple __init__ arguments
Python
Inheritance
Subclass
Tuples
Why Tuple's items are ReadOnly?
.Net
.Net 4.0
Readonly
Tuples
How to destack nested tuples in Python?
Python
Nested
Tuples
How do I add a tuple to a Swift Array?
Arrays
Tuples
Swift
Make custom type "tie-able" (compatible with std::tie)
C++
C++11
Tuples
Std
How to provide additional initialization for a subclass of namedtuple?
Python
Inheritance
Tuples
Two variables in Python have same id, but not lists or tuples
Python
Python 3.x
Tuples
Identity
Python Internals
Why are my two tuples containing strings, created the same way, not equal?
C++
Visual C++
Tuples
String Literals
How to create a tuple of an empty tuple in Python?
Python
Tuples
Select value from list of tuples where condition
Python
List
Tuples
Add all elements of an iterable to list
Python
List
Tuples
Changing values of a list of namedtuples
Python
List
Python 3.x
Tuples
Is it possible to have tuple assignment to variables in Scala?
Scala
Variable Assignment
Tuples
Preserve Python tuples with JSON
Python
Json
Tuples
When are parentheses required around a tuple?
Python
Syntax
Tuples
Sort a list of tuples depending on two elements
Python
Sorting
Python 3.x
Tuples
Tuple.Create() vs new Tuple
C#
Tuples
Are tuples more efficient than lists in Python?
Python
Performance
List
Tuples
Python Internals
Better naming in Tuple classes than "Item1", "Item2"
C#
C# 4.0
Tuples
How to unzip a list of tuples into individual lists?
Python
List
Tuples
List Comprehension
What's the difference between lists and tuples?
Python
List
Tuples
Convert tuple to list and back
Python
List
Tuples
What are "named tuples" in Python?
Python
Tuples
Namedtuple
Unpacking a list / tuple of pairs into two lists / tuples
Python
List
Tuples
How to convert comma-delimited string to list in Python?
Python
Parsing
List
Tuples
How does tuple comparison work in Python?
Python
Comparison
Tuples
What is the inverse function of zip in python?
Python
List
Numpy
Tuples
Python add item to the tuple
Python
Tuples
What's the difference between lists enclosed by square brackets and parentheses in Python?
Python
List
Tuples
Why can tuples contain mutable items?
Python
List
Tuples
Immutability
Python Internals
How to form tuple column from two columns in Pandas
Python
Dataframe
Pandas
Tuples
How to sort a list/tuple of lists/tuples by the element at a given index?
Python
List
Sorting
Tuples
Convert a namedtuple into a dictionary
Python
Dictionary
Tuples
Namedtuple
Getting one value from a tuple
Python
Tuples
python tuple to dict
Python
Dictionary
Tuples
Find an element in a list of tuples
Python
List
Search
Tuples
Is Using .NET 4.0 Tuples in my C# Code a Poor Design Decision?
C#
.Net
Tuples
Application Design
What's the difference between System.ValueTuple and System.Tuple?
C#
.Net
Tuples
C# 7.0
How to change values in a tuple?
Python
Tuples
Pair/tuple data type in Go
Go
Tuples
How does std::tie work?
C++
C++11
Tuples
How do I expand a tuple into variadic template function's arguments?
C++
C++11
Arguments
Tuples
What is the equivalent of the C++ Pair<L,R> in Java?
Java
Tuples
Std Pair
Are HLists nothing more than a convoluted way of writing tuples?
Scala
Types
Tuples
Hlist
Shapeless
Why do we need tuples in Python (or any immutable data type)?
Python
Tuples
Explicitly select items from a list or tuple
Python
List
Select
Indexing
Tuples
List of tuples to dictionary
Python
List
Dictionary
Tuples
What is the syntax rule for having trailing commas in tuple definitions?
Python
Syntax
Tuples
Convert list to tuple in Python
Python
Python 2.7
Tuples
How to extract the n-th elements from a list of tuples
Python
List
Tuples
How can I split a column of tuples in a Pandas dataframe?
Python
Numpy
Pandas
Dataframe
Tuples
How to convert list of tuples to multiple lists?
Python
List
Tuples
Python element-wise tuple operations like sum
Python
Tuples
Python : List of dict, if exists increment a dict value, if not append a new dict
Python
Loops
List
Tuples
What and When to use Tuple?
C#
.Net
C# 4.0
.Net 4.0
Tuples
Why is the use of tuples in C++ not more common?
C++
Tuples
Python convert tuple to string
Python
String
Tuples
Why can't I use a list as a dict key in python?
Python
List
Dictionary
Tuples
Hashable
Tuples( or arrays ) as Dictionary keys in C#
C#
Dictionary
Hashtable
Tuples
JavaScript variable assignments from tuples
Javascript
Tuples
Destructuring
What's the meaning of "(1,) == 1," in Python?
Python
Tuples
Equals Operator
Why in Python does "0, 0 == (0, 0)" equal "(0, False)"?
Python
Tuples
Operator Precedence
How to find the maximum value in a list of tuples?
Python
List
Tuples
Does Python have an immutable list?
Python
List
Tuples
Immutability
Why do tuples take less space in memory than lists?
Python
Python 2.7
List
Tuples
Python Internals
Python: Tuples/dictionaries as keys, select, sort
Python
Select
Dictionary
Key
Tuples
C++ Tuple vs Struct
C++
Struct
Tuples
Difference between std::pair and std::tuple with only two members?
C++
Visual Studio-2010
Tuples
Std Pair
Stdtuple
What is the pythonic way to unpack tuples?
Python
Tuples
Implementing comparison operators via 'tuple' and 'tie', a good idea?
C++
C++11
Operators
Tuples
Strict Weak-Ordering
Sort tuples based on second parameter
Python
Sorting
Tuples
Create a Tuple in a Linq Select
C#
Entity Framework
Linq
Tuples
How to set std::tuple element by index?
C++
Templates
Indexing
Tuples
List vs tuple, when to use each?
Python
List
Types
Tuples
Sort a list of tuples by 2nd item (integer value)
Python
List
Tuples
Expanding tuples into arguments
Python
Tuples
Parameter Passing
scala tuple unpacking
Scala
Parameters
Tuples
Returning two values, Tuple vs 'out' vs 'struct'
C#
Struct
Tuples
Out
Value Type
Subtracting 2 lists in Python
Python
List
Tuples
Vector
How to search a list of tuples in Python
Python
Search
List
Tuples
Assign multiple new variables on LHS in a single line
R
Variables
Tuples
Variable Assignment
Assign
Accessing a value in a tuple that is in a list
Python
List
Tuples
Transform "list of tuples" into a flat list or a matrix
Python
List
Tuples
What requirement was the tuple designed to solve?
C#
Tuples
In what case would I use a tuple as a dictionary key?
Python
List
Dictionary
Tuples
Pretty-print std::tuple
C++
C++11
Tuples
Variadic Templates
Why is tuple faster than list in Python?
Python
Performance
List
Tuples
Convert a Scala list to a tuple?
List
Scala
Tuples
When to use: Tuple vs Class in C# 7.0
C#
Tuples
C# 7.0
Valuetuple
How to reverse tuples in Python?
Python
Loops
Iteration
Tuples
Why is there no tuple comprehension in Python?
Python
Tuples
List Comprehension
Dictionary Comprehension
Set Comprehension
how to add value to a tuple?
Python
Tuples
Tuple Unpacking in Map Operations
Scala
Map
Iterator
Tuples
Iterable Unpacking
C# 7 tuples and lambdas
C#
Lambda
Tuples
C# 7.0
Why is starred iterable unpacking in a return statement invalid syntax without parentheses before Python 3.8?
Python
Python 3.x
Return
Tuples
Iterable Unpacking
How are tuples unpacked in for loops?
Python
Python 3.x
Tuples
Iterable Unpacking
Python lambda does not accept tuple argument
Python
Lambda
Tuples
Why does b+=(4,) work and b = b + (4,) doesn't work when b is a list?
Python
Python 3.x
List
Tuples
C++17: Keep only some members when tuple unpacking
C++
Tuples
C++17
Tuple pairs, finding minimum using python
Python
Tuples
Min
Why is Scala's syntax for tuples so unusual?
Scala
Tuples
Iterable Unpacking
Using Tuples in Ruby?
Ruby
Tuples
Relational
Elegant way to perform tuple arithmetic
Python
Python 2.7
Numpy
Tuples
std::tuple sizeof, is it a missed optimization?
C++
Tuples
Language Lawyer
Padding
Convert RGB color to English color name, like 'green' with Python
Python
Css
Image
Colors
Tuples
Why does splatting create a tuple on the rhs but a list on the lhs?
Python
Python 3.x
List
Tuples
Splat
Will a future version of .NET support tuples in C#?
C#
.Net
Tuples
Language Features
How to easily initialize a list of Tuples?
C#
List
Collections
.Net 4.0
Tuples
Should I make a DateRange object?
.Net
Model
Tuples
Date Range
Using tuples in SQL "IN" clause
Sql
Sql Server
Tuples
Row Value-Expression
Haskell: how to map a tuple?
Haskell
Mapping
Tuples
Using Python's list index() method on a list of tuples or objects?
Python
List
Tuples
Reverse Lookup
JSON serialize a dictionary with tuples as key
Python
Json
Tuples
Add another tuple to a tuple of tuples
Python
Tuples
Decomposing tuples in function arguments
Scala
Function
Tuples
Django - How to do tuple unpacking in a template 'for' loop
Python
Django
Templates
Tuples
Iterable Unpacking
Swift: Multiple intervals in single switch-case using tuple
Ios
Swift
Switch Statement
Tuples
Xcode6
Add Variables to Tuple
Python
Tuples
Ignore python multiple return value
Python
Function
Tuples
Using Pairs or 2-tuples in Java
Java
Tuples
How to merge lists into a list of tuples?
Python
List
Merge
Tuples
Append a tuple to a list - what's the difference between two ways?
Python
List
Types
Append
Tuples
What does the term "Tuple" Mean in Relational Databases?
Sql
Terminology
Rdbms
Definition
Tuples
Is there a name for this tuple-creation idiom?
C++
Tuples
Variadic Templates
C++14
Generic Lambda
List of Tuples to DataFrame Conversion
Python
List
Pandas
Tuples
Ignore part of a python tuple
Python
Tuples
Iterable Unpacking
In Swift can I use a tuple as the key in a dictionary?
Dictionary
Tuples
Swift
Scala: how can I sort an array of tuples by their second element?
Arrays
Scala
Sorting
Tuples
Why can't I join this tuple in Python?
Python
Tuples
Difference between tuples and frozensets in Python
Python
Data Structures
Set
Tuples
x, = ... - is this trailing comma the comma operator?
Python
Matplotlib
Tuples
Are there tuples in PHP?
Php
Tuples
Converting string to tuple without splitting characters
Python
List
Python 2.7
Python 3.x
Tuples
Inserting an item in a Tuple
Python
Insert
Tuples
Equivalent of Tuple (.NET 4) for .NET Framework 3.5
C#
.Net 3.5
Tuples
In Scala, is there an easy way to convert a case class into a tuple?
Scala
Tuples
Case Class
How to convert a list to a list of tuples?
Python
List
Tuples
Python: what is the difference between (1,2,3) and [1,2,3], and when should I use each?
Python
List
Tuples