Posts by João Neto • 137 points
4 posts
-
-2
votes0
answers9
viewsQ: Attributeerror: 'Outstream' Object has no attribute 'buffer' in weasyprint module in Python
Importing the weasyprint module into python gives the following error: AttributeError Traceback (most recent call last) <ipython-input-3-5c808e9d68b5> in <module>() 2 import pandas as pd…
-
2
votes2
answers2571
viewsQ: Bar graph - ggplot2
I have a data-frame with the structure below. I want to make a simple bar graph that relates the "CID" by type (A, B, C, etc...) with the days of departure and the other with the Calls. df <-…
-
5
votes1
answer70
viewsQ: Date - 4 digit Character conversion
I’m having trouble using as. Date to convert a column with dates (year with only two characters) into date. O as. Date autocompletes the year wrong, producing results like 2066( instead of 1966)…
-
7
votes2
answers3321
viewsQ: Convert Character Frame Data Column to Numeric
When trying to convert the text values of a column data.frame, created using Stringasfactor = FALSE, in numerical terms, I obtained an abnormal result by coercion: > str(ccredito$Restaurantes)…