Pandas plot multiple columns code example
Example 1: plotting two columns of a dataframe in python
df.plot(x='col_name_1', y='col_name_2', style='o')
Example 2: assign multiple columns pandas
import pandas as pd
df = {'col_1': [0, 1, 2, 3],
'col_2': [4, 5, 6, 7]}
df = pd.DataFrame(df)
df[[ 'column_new_1', 'column_new_2','column_new_3']] = [np.nan, 'dogs',3] #thought this wo