Posts by C4i0s • 41 points
3 posts
-
2
votes1
answer1192
viewsA: Conversion of Object to float
Hello! So this is because the number is being read as string. I suggest you change that comma in the numbers by a dot, like this: df['coluna'] = df['coluna'].str.replace(',','.') Then try to perform…
-
1
votes1
answer507
viewsA: Web scraping with python on authenticated websites
The library requests also allows you to perform logins, would be as follows: from bs4 import BeautifulSoup import requests session = requests.Session() # email e senha correspondem ao "name" das…
-
1
votes2
answers168
viewsA: String.split() function with separator containing brackets and asterisk
This is because what is expected within the split() is a regex, so you need to use an escape, and your code will look like this: String[] split = teste.split("\\[\\[\\*{1,2}\\]\\]");…