Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Pandas copying wrong values
Post: RE: Pandas copying wrong values

Ok, thanks for the explenation.
vmarg Data Science 2 2,402 Jan-06-2020, 09:45 AM
    Thread: Assigning a Variable Help
Post: RE: Assigning a Variable Help

A better datastructure is this temp = {'Jan' : [25,31,3] , 'Apr' : [45,30,4] , 'Jun' : [85,30,3.3] , 'Sep' : [70,30,3.8], 'Dec':[35,31,2.8] } month = input("What month is it? ") print(temp[month])
vmarg General Coding Help 5 2,955 Jan-05-2020, 11:12 PM
    Thread: Pandas copying wrong values
Post: Pandas copying wrong values

Can someone explain me this? Python 3.7 pandas 0.25.3 import pandas as pd foo = pd.concat([pd.DataFrame({'foo': [10,20]}), pd.DataFrame({'foo': [30,40]})]) bar = pd.DataFrame({'bar': [1, 2, 3, 4]}) ...
vmarg Data Science 2 2,402 Jan-05-2020, 10:52 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020