Skip to content

Patricia S. All except bonus#3

Open
psaeztorres wants to merge 2 commits intoIronhack-data-bcn-oct-2023:mainfrom
psaeztorres:main
Open

Patricia S. All except bonus#3
psaeztorres wants to merge 2 commits intoIronhack-data-bcn-oct-2023:mainfrom
psaeztorres:main

Conversation

@psaeztorres
Copy link
Copy Markdown

I will do my best to send you the bonus but.....just in case here you are

@bripollc
Copy link
Copy Markdown

Patricia,

No tengo mucho a comentar ya que todas las respuestas son correctísimas. 🤓 Felicitats!

  • Let's write a function to split those words. Our function will return the string split on the character \n. Write your function in the cell below.
def line_break(x):
    x_split = x.split("\n")
    x_split = [line for line in x_split if line.strip() != '']
    return x_split

De esta manera eliminarás los espacios en blanco:) (aunque no te lo pide)

Por el Challenge 4 no te preocupes, son cosas que veremos estos días. Pero bien bien bien, me gusta que hayas intentado ya cositas con pandas.

Ps: si al imprimir tus respuestas limitas el rango será más legible el notebook 🙃

image

@psaeztorres
Copy link
Copy Markdown
Author

psaeztorres commented Oct 20, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants