Posts by Rafaelcvo • 139 points
7 posts
-
2
votes1
answer864
viewsQ: Image alignment in the Markdown
I’m trying to insert three images into the R using markdown, but I need them all to appear together next to each other. Which syntax to be used, I’m able to put one below the other.…
-
3
votes3
answers1422
viewsQ: Search for words that contain a certain letter
I need to search the library re for when I pass a letter, return the whole word containing the letter. text = "Texto de busca por palavras contendo a letra z, como por exemplo zebra, zoologico. A…
-
1
votes2
answers173
viewsQ: Reading of multiple datasets
I am trying to read Anatel’s datasets file, but it is divided by state. Is there any way I can read all the files in the folder at once? I did reading file by file and joining all in one.…
-
0
votes2
answers711
viewsA: Find the second highest value
After the @jsbueno tip I solved the exercise as follows: I selected the column you wanted, converted it into a list, ordered the largest by the smallest using the Sorted function and printed the…
-
0
votes2
answers711
viewsQ: Find the second highest value
I need to find the second highest value in the iris file. entranda de dados url = 'https://archive.ics.uci.edu/ml/machine-learning- databases/iris/iris.data' iris = np.genfromtxt(url, delimiter=',',…
-
0
votes4
answers388
viewsA: How can I add a hyphen between all even numbers of a value?
I did it the way @Breno mentioned, but with small modifications to adapt to the proposed exercise. num = input("Informe os valores:") def separador(num): saida = '' pares = '02468' for x in…
-
7
votes4
answers388
viewsQ: How can I add a hyphen between all even numbers of a value?
Good morning, could someone help me with a code please, I need to insert a hyphen (-) between two even numbers. For example, if you receive the number 02368859 as input, the output of the program…