Home:ALL Converter>How to create an empty Series on pandas?

How to create an empty Series on pandas?

Ask Time:2021-09-22T05:36:32         Author:Santiago Barreiro

Json Formatter

I'm learning about Series and I'm using VS Code to do excercises to learn it's usage, but when I typed this

 current_series_add = pd.Series()

in the terminal it shows me a message telling me that "Te default dtype for empty Series will be object instead of float64 in a future version"

How can I specify a dtype?

Author:Santiago Barreiro,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/69275818/how-to-create-an-empty-series-on-pandas