Suppose I have the following data
StadiumType Turf Temperature Humidity GameId
0 Outdoor Field Turf 63.0 77.0 2017090700
1 Outdoors A-Turf Titan 65.0 53.0 2017091000
2 Green Outdoor Grass 64.0 57.0 2017091001
3 Red Outdoor UBU Sports Speed S5-M 68.0 43.0 2017091002
4 Outdoor Grass 63.0 53.0 2017091003
I found that using pd.read_clipboard()
doesn't work well because the white space. I ended up with awkward split
and join
using with
context manager. Is there any easier way than this?
Thanks very much.