Skip to content

Tag: pandas

empty column in .toexcel() with pandas

i use pandas for python to generate a xlsx file with two other file. i take the first one as a template, and file the column with the second file. i wrote: but when i open my xlsx file the column ” and ‘Code du client *’ are empty, the other Columns are OK… I don’t know why it do…

Convert rec.array to dataframe

I’ve been trying to convert a numpy rec.array into a dataframe. The current array looks like: The result should be a five-column dataframe like the following: Weights v_1 v_2 v_3 v_4 0.2 1.76405235 0.40015721 0.97873798 2.2408932 0.2 1.86755799 -0.97727788 0.95008842 -0.15135721 …. …. &#8230…