What are data structures in python?

0 votes
What is the difference between data structures in python and other programming languages like data structures in java?
Jul 15, 2019 in Python by Waseem
• 4,540 points
86 views

1 answer to this question.

0 votes

Data structures in python are basically the data types that we have. Following are a few data types in python

  • list
  • dictionary
  • tuple
  • set
  • defaultdict
  • namedtuple
  • deque
  • chainmap
  • counter
  • ordereddict
  • userdict
  • userlist
  • userstring

They are different from other programming languages because of ease of access and wide variety of modules and operations.

answered Aug 2, 2019 by Mohammad
• 3,210 points

Related Questions In Python

0 votes
1 answer

What are the different types of data types one can use in Python?

Python provides an array of built-in constants, ...READ MORE

answered May 28, 2019 in Python by Harsh
• 260 points
84 views
0 votes
1 answer

what are "and" and "or" operators in Python?

AND - True if both the operands ...READ MORE

answered Apr 17, 2018 in Python by Johnathon
• 9,090 points
72 views
0 votes
2 answers

What are the types of dictionary in python?

There are 4 types of dictionary Empty Integer Mixed Dictionary with ...READ MORE

answered Feb 14, 2019 in Python by Shashank
• 1,370 points
102 views
+1 vote
3 answers

What are the ways of detecting outliners in Python

code from http://eurekastatistics.com/using-the-median-absolute-deviation-to-find-outliers  This uses the L1 distance ...READ MORE

answered Aug 24, 2018 in Python by eatcodesleeprepeat
• 4,750 points

reshown Aug 24, 2018 by Priyaj 222 views
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 1,170 views
0 votes
0 answers
0 votes
1 answer

What are the naming conventions for variables and data types in python?

There are certain rules that we have ...READ MORE

answered May 20, 2019 in Python by Mohammad
• 3,210 points
171 views
0 votes
1 answer

what are nested if statements in python?

nested if statements are statements with more ...READ MORE

answered May 20, 2019 in Python by Mohammad
• 3,210 points
53 views