File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 564
564
" new_data.info() # as before"
565
565
]
566
566
},
567
+ {
568
+ "cell_type" : " markdown" ,
569
+ "metadata" : {},
570
+ "source" : [
571
+ " #### x.unique(), x.value_counts(), x.sum()"
572
+ ]
573
+ },
567
574
{
568
575
"cell_type" : " markdown" ,
569
576
"metadata" : {},
615
622
" - there is 1 value each for 'No' and 'Yes'"
616
623
]
617
624
},
625
+ {
626
+ "cell_type" : " markdown" ,
627
+ "metadata" : {},
628
+ "source" : [
629
+ " #### NaNs: x.fillna(), x.dropna()"
630
+ ]
631
+ },
618
632
{
619
633
"cell_type" : " markdown" ,
620
634
"metadata" : {},
697
711
" Now let's address the 'Yes' and 'No' and the fact that the apparent integers are actually strings - all in one step."
698
712
]
699
713
},
714
+ {
715
+ "cell_type" : " markdown" ,
716
+ "metadata" : {},
717
+ "source" : [
718
+ " #### x.map()"
719
+ ]
720
+ },
700
721
{
701
722
"cell_type" : " markdown" ,
702
723
"metadata" : {},
You can’t perform that action at this time.
0 commit comments