Tuesday, April 30, 2019

Get row names and column names for python pandas dataframe

In python you do:
yourdataframe.columns
yourdataframe.index

In R you do:
columnnames(yourdata.frame)
rownames(yourdata.frame)

[MATLAB] save/write numeric array/vector/matrix to a file

dlmwrite(Filename,YourVector)