Questions tagged as 'pandas'

1
answer

Mining in Python (prediction using csv)

I'm now starting to program in the Python language and I'm studying data mining with artificial neural network. What should I do to make predictions from a .csv file? Then how do I save the results in another table? import numpy as np impor...
asked by 11.11.2018 / 21:12
1
answer

I want to convert Timedelta to float

I have a Dataframe in which one of the columns is the time interval in days between searching from one row to another, the data in that column is in the form Timedelta, as in the example: Timedelta ('61 days 00:00:00 ') I need to convert this...
asked by 23.10.2018 / 03:31
1
answer

Python / Pandas - How to create in the data frame, a column "str" from another numeric, including zero to the left when the value is less than 9

The code I used to create the column is returning with the following error:    The truth value of a series is ambiguous. Use a.empty, a.bool (),   a.item (), a.any () or a.all (). I do not know how to resolve this error. import pandas a...
asked by 29.06.2017 / 14:25
1
answer

Repeat code for the same product group [closed]

I have a spreadsheet with thousands of products as the example below, where the code is only in the type of service (left column), and I want it to appear in all products of the same type (right column). In practice, I want code '1' to be dragge...
asked by 22.12.2018 / 00:42
1
answer

Graphic description in overlapping pizza

How to solve this? Subtitles of the graphic in pizza overlapping others.     
asked by 06.12.2018 / 01:54