Skip to content Skip to sidebar Skip to footer
Showing posts with the label Types

How Can I Copy An Immutable Object Like Tuple In Python?

copy.copy() and copy.deepcopy() just copy the reference for an immutable object like a tuple. How c… Read more How Can I Copy An Immutable Object Like Tuple In Python?

What Do The > < Signs In Numpy Dtype Mean?

What is the difference between dtype='f', dtype='f4', dtype='>f4', dtype… Read more What Do The > < Signs In Numpy Dtype Mean?

Pandas Fails With Correct Data Type While Reading A Sas File

I have a SAS dataset and when I run it I get the following output on SAS: I also have the followin… Read more Pandas Fails With Correct Data Type While Reading A Sas File

Changing String To Byte Type In Python 2.7

In python 3.2, i can change the type of an object easily. For example : x=0 print(type (x)) x=bytes… Read more Changing String To Byte Type In Python 2.7

Get List Of Column Names Having Either Object Or Categorical Dtype

My goal is to get a list object: ['assetCode', 'assetName'], where the contents are… Read more Get List Of Column Names Having Either Object Or Categorical Dtype

How Do I Take Input In The Date Time Format?

I have written a code which take start_date and end_date from user but it is throwing an error. Fol… Read more How Do I Take Input In The Date Time Format?