All Questions
4 questions
0
votes
4
answers
1k
views
How to filter Pandas Unique Result by only Non-Numeric Values?
Context
I have a Pandas Series and am calling the .unique() Method to get all unique Values. I now would like to filter this result to only see unique Values that are Non-Numeric. However, I get the ...
1
vote
2
answers
715
views
How to transform all non-zero values to a new column in pandas
I have a dataframe with 81 columns and around 3000 rows. below is a sample df. I need to transform all non-zero value to a new column
TO Rubber Wood Plastic Toy Metal Paper ...
-1
votes
1
answer
386
views
Best Way To Save/Load Data To/From A .CSV File
I'm trying to save and load a list of tuples of 2 ndarrays and an int to and from a .csv file.
In my current implementation, when I save and load a list l, there is some error in the recovered list ...
0
votes
0
answers
40
views
(Randomly?) find an amount by summing a 2D array
I have a 2D array with :
an index,
a numerical value
When I sum this 2D array I get an amount (let's say "a").
I am provided with another amount (let's say "b", a <> b , ...