Posts by sn3fru • 53 points
5 posts
-
1
votes1
answer1473
viewsQ: Manipulation of columns with pandas
I’m running a regression where I have 3 parameters and a column with categories. As sklearn does not recognize categories I turn them into Dummies ( create a column for each category and fill with 1…
-
1
votes1
answer1160
viewsA: Create JSON with Hierarchy through Excel
They helped me by creating the ETL that turns my JSON without hierarchy into a JSON with hierarchy. It is enough that the ids of the categories and groups are equal to be grouped. Follows the code…
-
1
votes1
answer1160
viewsQ: Create JSON with Hierarchy through Excel
I have a table with a tree of products. Category, Group and Subgroup. When I export json by excel the file exits without hierarchy: As in this example: [ { "id_cat": 4, "desc cat": "Acessorios para…
-
0
votes1
answer140
viewsQ: Circular Oriented Graphs with Mongodb
Does anyone know if it is possible to create circular oriented graphs with Mongodb or need a specific graph oriented database like neo4j. Node A (The alloy with B) Node B (B connects with C) Node C…
-
2
votes1
answer340
viewsQ: Doubt to transpose part of a table with Python
I need help to build a Python script that transposes part of a csv as in the example below: [[0A,0B,0C,0D,0E,0F] [01,02,03,04,05,06] [07,08,09,10,11,12] [13,14,15,16,17,18] [19,20,21,22,23,24]]…