Created
April 3, 2023 06:39
-
-
Save lauriestark/42e16898ed83c0f5b28114436c6a05e3 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
# Get the number of rows and columns | |
num_rows, num_cols = df.shape | |
# Print the number of rows | |
print(f"The file has {num_rows} rows.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment