Posts by Rafael • 135 points
8 posts
-
1
votes1
answer628
viewsA: All data from a row in the dataframe is going to the first column using python pandas
Pandas is a hell of a tool, but sometimes the data is not quite "normalized", it was your case, I didn’t understand why of those quotes but they were one of the problems, you had your header three…
-
0
votes2
answers319
viewsA: Get all the content I don’t want via Regex
You can use the following regex "query", I did a test here and it worked with your sample data: .*(([A-Z])\w+) +: takes one or more repetitions; [A-Z]: characters from A to Z; .: represents any…
-
0
votes1
answer295
viewsQ: How to customize matplotlib Plots, in a more Clusterization-oriented way?
I am working with data analysis, I need to leave the data more distant from the clusters represented in some other way, as a different symbol or some stronger color, I analyzed in the documentation…
-
2
votes2
answers895
viewsA: Output error - C language
Really what was complicating was the instruction gets, I recommend reading the colleague’s explanation below, but anyway here is an alternative to your code without many changes.…
-
4
votes1
answer96
viewsA: how to receive input from the user and write to a file
The only thing missing in your code is to release the output stream, as your while instruction never ends you never end up writing in the file so nothing appears there, we can solve this with the…
-
1
votes2
answers98
viewsA: how do I save the data entry permanently
The stdio library. h has functions to create, read and write to txt files, so you can keep this data logged. Here is an example: #include<stdio.h> FILE*arquivo; char nome[20]; int main() {…
-
3
votes1
answer1597
viewsQ: Kruskal’s algorithm problem C++
I’m implementing Kruskal’s algorithm, only I’m having a problem because he’s missing one of the links and the value of it, I’ve already made an implementation in Dijkstra, only in the work I’m doing…
-
4
votes1
answer196
viewsQ: Problem reading strings
I’m making an algorithm that gets the number of affairs, then a name with surname, one color and a size. He must make a comparison and print them ordered by color in ascending order, size in…