You can use lists, tuples, dictionaries, and sets, which are data structures where you can store a collection of values. You have integers and float to deal with numerical values, boolean ( bool) to deal with true/false values and strings to work with alphanumeric characters. You must have already seen and worked with some of them. In data science, you will often need to change the type of your data so that it becomes easier to use and work with. The type defines the operations that can be done on the data and the structure in which you want the data to be stored. Data types are a classification of data that tells the compiler or the interpreter how you want to use the data.
0 Comments
Leave a Reply. |