python - pandas dataframe plot columns -
After reading a series of files, I create a data frame with 7 columns:
Int64Index: 756 entries, 0 to 755
Data columns:
Furd (Hertz) 756 non-zero value
res_ohm * m 756 non-zero value
Step_made 756 non-zero value
IMCSI / M756 non-empty value
RMC / M756 non-empty value
C_el 756 non -No value
dated: 756 non-zero values
dtypes: float64 (6), object (1)
then I call column 6 ) With 12 variables:
pairs = = data_set.groupby ('C_el') 21 in each group now I mean that every 21 lines I have a new unique dataset) 21 - Refers to column 1 (frames (hj), where i am using 21 frequencies for each dataset
What do I have to do, y scattered Plot - Column 1 on the x-axis (Fryt (Hertz), and column 3 (step_mrrd) on the Y axis - each data There will be an expression of 21 unique frequencies in the net, and I want to add all the available datasets on the same plot,
The last step, this is repeat for 11 remaining groups (as defined in an AirAir phase
I do not know it will really satisfy your needs, but I think the group By you can do a lot of favors for example, instead of the example code provided by you, you can do this instead: for the key, data_set.group In group ('C_el'): # - Define file name, path, etc. Also see the file name = key group.to_csv (filename, sep = '') documentation. Sorry, I can not help you with more details, but I hope it helps to move to some extent.
Comments
Post a Comment