Last active
April 14, 2022 14:48
-
-
Save mepsrajput/99ce9b5b592c1c5c18fea3bf9235b4ca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
datax = data['state'].value_counts().sort_index() | |
datay = pd.DataFrame({ | |
'state': datax.index, | |
'Frequency': datax.values | |
}) | |
datay |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment